447f94818fce0e45ee008ab5ef3f5c93e3416dc3,debug.py,,,#,5

Before Change


        gt[1] = pt[1] + randint(0,4)
        target[i, j, :, :] = draw_gaussian2(to_torch(target[i, j, :, :]), gt, sigma)

acc = accuracy(scores, target, idx)
print(acc)

After Change


        else:
            win.set_data(scores[i,j,:,:].numpy())
        plt.pause(.3)
        plt.draw()
        // gt = np.zeros(2, dtype="int")
        // gt[0] = pt[0] + randint(0,2)
        // gt[1] = pt[1] + randint(0,4)
        // target[i, j, :, :] = draw_gaussian2(to_torch(target[i, j, :, :]), gt, sigma)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: bearpaw/pytorch-pose
Commit Name: 447f94818fce0e45ee008ab5ef3f5c93e3416dc3
Time: 2017-05-25
Author: platero.yang@gmail.com
File Name: debug.py
Class Name:
Method Name:


Project Name: BindsNET/bindsnet
Commit Name: 4c9bebf450569d0a1da22a0560343c45f7196fa3
Time: 2018-05-01
Author: djsaunde@umass.edu
File Name: examples/space_invaders.py
Class Name:
Method Name:


Project Name: dmnfarrell/pandastable
Commit Name: fadf97c110034315cd2c52625182ec7dc3d63173
Time: 2016-02-19
Author: farrell.damien@gmail.com
File Name: pandastable/handlers.py
Class Name: DragHandler
Method Name: on_release_event