447f94818fce0e45ee008ab5ef3f5c93e3416dc3,debug.py,,,#,5
Before Change
pt[1] = randint(0, 63)
// 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)
acc = accuracy(scores, target, idx)
print(acc)
After Change
// print(pt)
scores[i, j, :, :] = draw_gaussian2(to_torch(scores[i, j, :, :]), pt, sigma)
if win == None:
win = plt.imshow(scores[i,j,:,:].numpy())
else:
win.set_data(scores[i,j,:,:].numpy())
plt.pause(.3)
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: calico/basenji
Commit Name: 5c8dbdda60bc0290e967c37a55f47ba3e4342882
Time: 2019-09-29
Author: drk@calicolabs.com
File Name: basenji/dataset.py
Class Name: SeqDataset
Method Name: numpy
Project Name: hunkim/PyTorchZeroToAll
Commit Name: 55b880469ced115de9949d5d25ff835dabbb2caa
Time: 2017-11-08
Author: hunkim@gmail.com
File Name: 13_2_seq2seq_att.py
Class Name:
Method Name: translate