Load CIFAR-10 from user-specified directory (default /home/USER/data/cifar10 or Windows equivalent). Automatically download to that directory the CIFAR-10 tar file if not present.
pip install cifar10_web
from cifar10_web import cifar10
train_images, train_labels, test_images, test_labels = cifar10(path=None)