mnist-web

Load from /home/USER/data/mnist or elsewhere; download if missing.


License
MIT
Install
pip install mnist-web==2.7

Documentation

MNIST Web

Author: Matt Petersen

July 26, 2017


Load MNIST from user-specified directory (default /home/USER/data/mnist or Windows equivalent). Automatically download to that directory any files missing from it.

Install

pip install mnist_web

Usage

from mnist_web import mnist

train_images, train_labels, test_images, test_labels = mnist(path=None)