File Exchange

image thumbnail

Read digits and labels from MNIST database

version 1.0.0.0 (1.77 KB) by Sid H
Read digits from MNIST database available on http://yann.lecun.com/exdb/mnist/

67 Downloads

Updated 20 May 2010

View License

Read digits and labels from raw MNIST data files
File format as specified on http://yann.lecun.com/exdb/mnist/
Note: The 4 pixel padding around the digits will be remove
Pixel values will be normalised to the [0...1] range

Cite As

Sid H (2020). Read digits and labels from MNIST database (https://www.mathworks.com/matlabcentral/fileexchange/27675-read-digits-and-labels-from-mnist-database), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (20)

贝 薛

CTo

CTo

Nico Albers

Good work, thanks! One remark for other people using this: trying to open only one image will raise IndexExceeded Error ;-)

CinDeamon

Muzna Aziz

san su

Very Good!

Vivek Gupta

lol

Kris Wang

subha

subha

what offset does here

it's not working to me: ??? Error using ==> dataset.dataset>dataset.dataset at 363
The parameter lablist is unrecognized or not legal in this context.

Petter

Why crop the images?

Petter

Ronald

Es muy util codigos como estos (y)

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags