Skip to content

Instantly share code, notes, and snippets.

@unixpickle
Created October 30, 2017 03:39
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 unixpickle/b88b5dc92a44a384769c807d910b4106 to your computer and use it in GitHub Desktop.
Save unixpickle/b88b5dc92a44a384769c807d910b4106 to your computer and use it in GitHub Desktop.
Weird MNIST count
from tensorflow.examples.tutorials.mnist import input_data
data = input_data.read_data_sets('MNIST_data', one_hot=True)
print(len(data.train.labels))
# prints 55000, not 60000 like you'd expect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment