f3c5b75e59717c017fa3779b3f29b725e4ac6d9b,tests/test_retina.py,,main,#,38

Before Change


        imgs.append(torch.from_numpy(img))
    imgs = Variable(torch.cat(imgs))

    loc = Variable(torch.Tensor([[0., 0.], [0., 0.]]))

    if TEST_GLIMPSE:

        ret = retina(g=64, k=3, s=2)

After Change


        imgs.append(torch.from_numpy(img))
    imgs = Variable(torch.cat(imgs))

    loc = torch.Tensor(2, 2).uniform_(-1, 1)
    loc = Variable(loc)

    if TEST_GLIMPSE:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: kevinzakka/recurrent-visual-attention
Commit Name: f3c5b75e59717c017fa3779b3f29b725e4ac6d9b
Time: 2018-01-24
Author: kevinarmandzakka@gmail.com
File Name: tests/test_retina.py
Class Name:
Method Name: main


Project Name: kevinzakka/recurrent-visual-attention
Commit Name: 740d6e2e6c258011db8e1fbcd5072fbfad83b73b
Time: 2017-11-25
Author: kevinarmandzakka@gmail.com
File Name: main.py
Class Name:
Method Name: main


Project Name: carpedm20/ENAS-pytorch
Commit Name: 863681976e773ace7b18b28f7a765d97773c4d07
Time: 2018-02-17
Author: carpedm20@gmail.com
File Name: trainer.py
Class Name: Trainer
Method Name: train_controller