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
相關文章
相關標籤/搜索