Skip to content

ApelSYN/mnist_dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MNIST Digits data loader

Convert MNIST database data to resourses for javascript MNIST Digits module

Note: The MNIST database containing 60,000 examples for training and 10,000 examples for testing can be downloaded from LeCun’s website.

Installation

for node.js: npm install mnist_dl

Download from LeCun’s website and unpack two files:

train-images-idx3-ubyte.gz:  training set images (9912422 bytes) 
train-labels-idx1-ubyte.gz:  training set labels (28881 bytes)

You need to place these files in the "./data" directory.

Make resources for mnist digits

node ./minst_dl.js --count <range size>

mnist digits resources will be created in the "./digits" directory

count

Number of images range size from 1 to 60 000, default 60 000

About

MNIST Digits data loader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published