Skip to content

Instantly share code, notes, and snippets.

@clarkngo
Created November 30, 2020 04:50
Show Gist options
  • Save clarkngo/ce36d92b4d75a9bea30d88d8bab024be to your computer and use it in GitHub Desktop.
Save clarkngo/ce36d92b4d75a9bea30d88d8bab024be to your computer and use it in GitHub Desktop.
from keras.datasets import mnist
(train_images, train_labels), (test_images, test_labels) = mnist.load_data()
digit = train_images[4]
import matplotlib.pyplot as plt
plt.imshow(digit, cmap=plt.cm.binary)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment