Skip to content

Instantly share code, notes, and snippets.

@Sanlap1997
Created September 24, 2020 05:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sanlap1997/3523ad9044101a1c912ac4b983e27605 to your computer and use it in GitHub Desktop.
Save Sanlap1997/3523ad9044101a1c912ac4b983e27605 to your computer and use it in GitHub Desktop.
# Import the CIFAR-10 dataset from keras' datasets
from tensorflow.keras.datasets import cifar10
# Import this PyPlot to visualize images
import matplotlib.pyplot as plt
%matplotlib inline
import numpy as np
from sklearn.utils import shuffle
# Load dataset
(X_train, Y_train), (X_test, Y_test) = cifar10.load_data()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment