740d6e2e6c258011db8e1fbcd5072fbfad83b73b,main.py,,main,#,29
Before Change
imgs.append(torch.from_numpy(img))
imgs = torch.cat(imgs)
loc = torch.LongTensor([[0, 0], [0, 0]])
if TEST_GLIMPSE:
sensor = glimpse_sensor(g=64, k=3, s=2)
After Change
imgs.append(torch.from_numpy(img))
imgs = torch.cat(imgs)
loc = torch.Tensor(2, 2).uniform_(-1, 1)
// loc = torch.LongTensor([[0, 0], [0, 0]])
if TEST_GLIMPSE:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
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: 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: HyperGAN/HyperGAN
Commit Name: d4f9c4bbfa4b67fdd1f2a33a93231f5403fb5f61
Time: 2020-06-23
Author: martyn@255bits.com
File Name: hypergan/distributions/uniform_distribution.py
Class Name: UniformDistribution
Method Name: sample