How to plot images python?
plt.figure(figsize=(15,15)) for i in range(10): plt.subplot(5,5,i+1) plt.xticks([]) plt.yticks([]) plt.grid(False) plt.imshow(train_images[i]) plt.xlabel(CIFAR100_LABELS_LIST[train_labels[i][0]]) plt.show()
Not a member yet? Register now
Are you a member? Login now