Skip to content

Instantly share code, notes, and snippets.

@JoshVarty
Created January 11, 2018 01:54
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 JoshVarty/0ca5af4235fd2f6e1b5e135758b98c54 to your computer and use it in GitHub Desktop.
Save JoshVarty/0ca5af4235fd2f6e1b5e135758b98c54 to your computer and use it in GitHub Desktop.
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
# Download the MNIST dataset to ./MNIST_data
mnist = input_data.read_data_sets('MNIST_data', one_hot=True)
train_images = mnist.train.images;
train_labels = mnist.train.labels
test_images = mnist.test.images;
test_labels = mnist.test.labels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment