Skip to content

Instantly share code, notes, and snippets.

@EniasCailliau
Created August 23, 2018 10:32
Show Gist options
  • Save EniasCailliau/cb9f76cc3ea67bade34c73adc2dc5e29 to your computer and use it in GitHub Desktop.
Save EniasCailliau/cb9f76cc3ea67bade34c73adc2dc5e29 to your computer and use it in GitHub Desktop.
fashion_mnist = tf.keras.datasets.fashion_mnist
(train_images, train_labels), (test_images, test_labels) = fashion_mnist.load_data()
# Shapes of training, test and validation set
print("Fashion MNIST:")
print("Training set (images) shape: {shape}".format(shape=train_images.shape))
print("Training set (labels) shape: {shape}".format(shape=train_labels.shape))
print("Test set (images) shape: {shape}".format(shape=test_images.shape))
print("Test set (labels) shape: {shape}".format(shape=test_labels.shape))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment