Learn practical skills, build real-world projects, and advance your career
Updated 4 years ago
CIFAR-10 Multiple Classes
Constructing a CNN using Keras and Tensorflow for training and predicting animal from a given unclear image. Here we are using CIFAR-10 Data set. CIFAR-10 dataset which consists of 10 different image types.
The Data
CIFAR-10 is a dataset of 50,000 32x32 color training images, labeled over 10 categories, and 10,000 test images.
from keras.datasets import cifar10
(x_train, y_train), (x_test, y_test) = cifar10.load_data()
Downloading data from https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz
x_train.shape
(50000, 32, 32, 3)