Skip to content

burklight/MNIST-loader-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MNIST-loader

Downloading the mnist folder you will be able to have a prepared MNIST dataset (Le cun et al.) loader for C++.

The folder contains:

  • The readMnist.hpp file: The header you will need to include in your c++ code to be able to use the dataset.
  • The dataset in the original format provided by Le Cun.

An example on how to use this loader can be found in the example.cpp file.

** Note the images will be a 3D vector of integers with:

  • 0's on the non drawn parts of the image and 1's on the other places by default.
  • Their integer values if false is given to the readTestImages()/readTrainImages(). E.g., ReadTestImages(false), ReadTrainImages(false).

** Note the labels will be a 1D vector of integers with the label being the number corresponding to de digit.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages