dataget.image.cifar10

Downloads the Cifar 10 dataset from University of Toronto's website and loads it as numpy arrays.

import dataget

X_train, y_train, X_test, y_test = dataget.image.cifar10().get()

Sample

cifar-10-sample

Format

type shape dtype
X_train np.array (50_000, 32, 32, 3) uint8
y_train np.array (50_000, 1) uint8
X_test np.array (10_000, 32, 32, 3) uint8
y_test np.array (10_000, 1) uint8

Info

  • Folder name: image_cifar10
  • Size on disk: 178M