CIFAR 100 Dataset

Visualization of the CIFAR-100 Train Dataset in the Deep Lake UI
Instead of downloading the CIFAR-100 dataset in Python, you can effortlessly load it in Python via our Deep Lake open-source with just one line of code.
import deeplake
ds = deeplake.load("hub://activeloop/cifar100-train")
import deeplake
ds = deeplake.load("hub://activeloop/cifar100-test")
CIFAR 100 Data Fields
- images: tensor containing images of the dataset.
- labels: tensor containing labels for their respective image.
- coarse_labels: tensor containing superclass for their respective image.
CIFAR 100 Data Splits
- The CIFAR-100 dataset training set is composed of 500 images for 100 classes each.
- The CIFAR-100 dataset testing set is composed of 100 images for 100 classes each.
Train a model on CIFAR 100 dataset with PyTorch in Python
Let’s use Deep Lake built-in PyTorch one-line dataloader to connect the data to the compute:
dataloader = ds.pytorch(num_workers=0, batch_size=4, shuffle=False)
Train a model on CIFAR 100 dataset with TensorFlow in Python
dataloader = ds.tensorflow()
CIFAR 100 Dataset Curators
CIFAR 100 Dataset Licensing Information
CIFAR 100 Dataset Citation Information
@article{krizhevsky2009learning,
title={Learning multiple layers of features from tiny images},
author={Krizhevsky, Alex and Hinton, Geoffrey and others},
year={2009},
publisher={Citeseer}
}
What is the CIFAR 100 dataset for Python?
CIFAR 100 is similar to the CIFAR 10 dataset; however, it contains 100 classes of 600 images. Each image comes with a “fine” label (class it belongs to) and a “coarse” label (superclass it belongs to). Classes are grouped into 20 superclasses. Each class consists of 500 training images and 100 testing images.
What is the CIFAR 100 dataset used for?
How to use and download the CIFAR 100 dataset in Python?
Using the open-source package Activeloop Deep Lake, the CIFAR 100 dataset can quickly be loaded with just one line of code. See detailed instructions on how to load the CIFAR 100 dataset training subset and how to load the testing subset in Python.
What is the difference between CIFAR 100 dataset and CIFAR 10 dataset?
The main difference between the CIFAR 10 dataset and the CIFAR 100 dataset is the number of images and classes. The CIFAR 10 dataset has 10 classes with 6000 images per class. While the CIFAR 100 dataset has 100 classes containing 600 images per class.
How to use CIFAR 100 dataset?
You can stream the CIFAR 100 dataset while training a model in TensorFlow or PyTorch in seconds using the Activeloop Deep Lake open-source package. See detailed instructions on how to train a model on the CIFAR 100 dataset with PyTorch and how to train a model on the CIFAR 100 dataset with TensorFlow in Python.