Datasets (pyeddl.datasets)

mnist

MNIST handwritten digits dataset.

cifar10

CIFAR10 small images classification dataset.

MNIST

MNIST handwritten digits dataset.

pyeddl.datasets.mnist.load_data(path='mnist.npz')[source]

Loads the MNIST dataset.

Arguments:

path: path where to cache the dataset locally

Returns:

Tuple of Numpy arrays: (x_train, y_train), (x_test, y_test).

License:

Yann LeCun and Corinna Cortes hold the copyright of MNIST dataset, which is a derivative work from original NIST datasets. MNIST dataset is made available under the terms of the [Creative Commons Attribution-Share Alike 3.0 license.]( https://creativecommons.org/licenses/by-sa/3.0/)

CIFAR-10

CIFAR10 small images classification dataset.

pyeddl.datasets.cifar10.load_data()[source]

Loads CIFAR10 dataset.

Returns:

Tuple of Numpy arrays: (x_train, y_train), (x_test, y_test).