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

Before Change


        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)

acc = accuracy(scores, target, idx)

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: 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: 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


Project Name: matplotlib/matplotlib
Commit Name: 0d4effdbbd9a5b80659af658c6c1d76ffea61144
Time: 2018-12-09
Author: anntzer.lee@gmail.com
File Name: examples/misc/cursor_demo_sgskip.py
Class Name: SnaptoCursor
Method Name: mouse_move