6d75aef13998df68bf940c01212b1826380832dc,main.py,,main,#,29
Before Change
if TEST_BOUNDING:
fig, ax = plt.subplots(1)
x, y = denormalize(img.shape[1], 0, 0)
ax.imshow(img)
size = 64
for i in range(3):
After Change
fig, ax = plt.subplots(nrows=1, ncols=2)
coords = denormalize(imgs.shape[1], loc)
imgs = imgs.numpy()
for i in range(len(imgs)):
ax[i].imshow(imgs[i])
size = 64
for j in range(3):
rect = bounding_box(coords[i, 0], coords[i, 1], size)
ax[i].add_patch(rect)
size = size * 2
ax[i].get_xaxis().set_visible(False)
ax[i].get_yaxis().set_visible(False)
plt.savefig(plot_dir + "bbox.png", format="png", dpi=300,
bbox_inches="tight")
plt.show()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: kevinzakka/recurrent-visual-attention
Commit Name: 6d75aef13998df68bf940c01212b1826380832dc
Time: 2017-11-23
Author: kevinarmandzakka@gmail.com
File Name: main.py
Class Name:
Method Name: main
Project Name: interactiveaudiolab/nussl
Commit Name: 6ad8b3a6d6e98dda6f83390c6f7935377788d2bc
Time: 2015-07-31
Author: fpishdadian@u.northwestern.edu
File Name: KAM.py
Class Name: Kernel
Method Name: sim
Project Name: rasbt/mlxtend
Commit Name: e4a5240089538e40f7d9a5649f4fe86931743d15
Time: 2015-06-25
Author: se.raschka@me.com
File Name: mlxtend/classifier/neuralnet_mlp.py
Class Name: NeuralNetMLP
Method Name: fit