Skip to content

Instantly share code, notes, and snippets.

@dipanjanS
Created September 20, 2019 07:44
Show Gist options
  • Save dipanjanS/44b5c16d60ab868af0f0985a4147e6ae to your computer and use it in GitHub Desktop.
Save dipanjanS/44b5c16d60ab868af0f0985a4147e6ae to your computer and use it in GitHub Desktop.
fashion_mnist = keras.datasets.fashion_mnist
(train_images, train_labels), (test_images, test_labels) = fashion_mnist.load_data()
class_names = ['T-shirt/top', 'Trouser', 'Pullover', 'Dress', 'Coat',
'Sandal', 'Shirt', 'Sneaker', 'Bag', 'Ankle boot']
print('\nTrain_images.shape: {}, of {}'.format(train_images.shape, train_images.dtype))
print('Test_images.shape: {}, of {}'.format(test_images.shape, test_images.dtype))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment