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

Before Change


        // print(pt)
        scores[i, j, :, :] = draw_gaussian2(to_torch(scores[i, j, :, :]), pt, sigma)
        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)

After Change


            win = plt.imshow(scores[i,j,:,:].numpy())
        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)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: 4c928021aecedc9393af3ff6fe5336a01dd868f3
Time: 2018-03-31
Author: djsaunde@umass.edu
File Name: examples/space_invaders.py
Class Name:
Method Name:


Project Name: NifTK/NiftyNet
Commit Name: ef234844e1604d5496607fcf48886d9e556c0685
Time: 2017-06-21
Author: r.gray@ucl.ac.uk
File Name: engine/training.py
Class Name:
Method Name: run