def draw(name, feature4096):
plt.figure(name)
feature4096 = feature4096.reshape(64,64)
for i, x in enumerate(feature4096):
for j, y in enumerate(x):
#if y <= 0:
# print ' ',
#else:
# print '%3.1f'%y,
plt.scatter([j],[i], s=[y*1000])
#print
plt.axis([-1, 65, -1, 65])
plt.show()
评论列表
文章目录