Created
September 4, 2017 02:57
-
-
Save vrjkmr/768f626661427b8748e75c9f2e0bfd58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shapes of training set | |
print("Training set (images) shape: {shape}".format(shape=fashion_mnist.train.images.shape)) | |
print("Training set (labels) shape: {shape}".format(shape=fashion_mnist.train.labels.shape)) | |
# Shapes of test set | |
print("Test set (images) shape: {shape}".format(shape=fashion_mnist.test.images.shape)) | |
print("Test set (labels) shape: {shape}".format(shape=fashion_mnist.test.labels.shape)) | |
''' | |
Output: | |
Training set (images) shape: (55000, 784) | |
Training set (labels) shape: (55000, 10) | |
Test set (images) shape: (10000, 784) | |
Test set (labels) shape: (10000, 10) | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment