Skip to content

Instantly share code, notes, and snippets.

@mohammedouahman
Created November 17, 2021 18:27
Show Gist options
  • Save mohammedouahman/af64d1df1192fe0b915480f08a141012 to your computer and use it in GitHub Desktop.
Save mohammedouahman/af64d1df1192fe0b915480f08a141012 to your computer and use it in GitHub Desktop.
plt.figure(figsize=(10,10))
for i in range(25):
plt.subplot(5,5,i+1)
plt.xticks([])
plt.yticks([])
plt.grid(False)
plt.imshow(train_images[i], cmap=plt.cm.binary)
plt.xlabel(class_names[train_labels[i]])
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment