Skip to content

Instantly share code, notes, and snippets.

@tsujio tsujio/show_mnist.py
Created Feb 11, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.