Skip to content

Instantly share code, notes, and snippets.

@tsujio
Created February 11, 2018 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsujio/f9ec5c6229fa65402b8bbe012d23c887 to your computer and use it in GitHub Desktop.
Save tsujio/f9ec5c6229fa65402b8bbe012d23c887 to your computer and use it in GitHub Desktop.
from matplotlib import pyplot as plt
import mnist
train_imgs, train_labels, test_imgs, test_labels = mnist.load_mnist_dataset()
plt.imshow(train_imgs[0], cmap='gray')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment