Last active
August 23, 2018 10:36
-
-
Save EniasCailliau/51b2802d1f08a5a684b78231cc1f4791 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
labels_lookup = ['T-shirt/top', 'Trouser', 'Pullover', 'Dress', | |
'Coat', 'Sandal', 'Shirt', 'Sneaker', 'Bag', 'Ankle boot' | |
] | |
plt.figure(figsize=(10,10)) | |
for i in range(25): | |
plt.subplot(5,5,i+1) | |
plt.xticks([]) | |
plt.yticks([]) | |
plt.grid(False) | |
plt.imshow(train_images[i], cmap=plt.cm.binary) | |
plt.xlabel(labels_lookup[train_labels[i]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment