lisa-lab/pylearn — Issue #74: Make MNIST loader read Yann LeCun's original files
Author: dwf
Created: 2012-03-06 21:12:43+00:00
State: open
Labels: Low-hanging fruit

Our MNIST loader class shouldn't depend on the user downloading some arbitrary pickle files. Yann's format is so simple that it can be read in with a single numpy.fromfile call; we should do this rather than what we do now.

The only thing is making sure all the transposes and such are the same as they are now.

We should also store hashes of the original files (and their gzipped equivalents) to make sure the download isn't corrupted. A `download_mnist()` function in this module could grab the files with `urllib`.