python matplotlib这么同时显示多张图片在同一个图中

CIFAR10读进来的图像的的维度是(50000,32,32,3),插入如下代码就能够用了,code img_test = images_test[:32, :, :, :]blog 选取前32张显示class plt.figure() for i in range(1,32): plt.subplot(4,8,i) plt.imshow(img_test[i-1]) plt.sh
相关文章
相关标签/搜索