Skip to content

Instantly share code, notes, and snippets.

@f-rumblefish
Created June 26, 2017 03:17
Show Gist options
  • Save f-rumblefish/3f2403c58522931e476aa32d25161ce2 to your computer and use it in GitHub Desktop.
Save f-rumblefish/3f2403c58522931e476aa32d25161ce2 to your computer and use it in GitHub Desktop.
Keras (1)
from keras.datasets import cifar10
import matplotlib.pyplot as plt
(X_train, y_train), (X_test, y_test) = cifar10.load_data()
plt.figure(facecolor='white')
for i in range(100):
plt.subplot(10, 10, i+1)
plt.imshow(X_train[i])
plt.axis("off")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment