【发布时间】:2020-08-22 13:34:56
【问题描述】:
假设我在变量 L 中有 MNIST 数字。
L[0].reshape(28,28) 会给我机会用 matplot 来绘制:
plt.matshow(L[0].reshape(28,28)).
但是,如果我想在 5x5 网格中绘制 25 位数字,我无法弄清楚如何随机播放 L[0:24] 以使用 matplot 正确绘制它。
也许任何人都知道该怎么做。
【问题讨论】:
标签: python numpy matplotlib mnist