Previous topic

ImageNet

Next topic

SUN Database

MNIST

class OR_mnist

Implements loading dataset:

“MNIST”: http://yann.lecun.com/exdb/mnist/

Note

Usage

  1. From link above download dataset files: t10k-images-idx3-ubyte.gz, t10k-labels-idx1-ubyte.gz, train-images-idx3-ubyte.gz, train-labels-idx1-ubyte.gz.
  2. Unpack them.
  3. To load data run: ./opencv/build/bin/example_datasets_or_mnist -p=/home/user/path_to_unpacked_files/

References:

[LeCun98a]
  1. LeCun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 1998.