nyanp / mnisten

convert image files to mnist idx format
61 stars 30 forks source link

How to use the mnisten to create idx3 data format #8

Open ouche opened 8 years ago

ouche commented 8 years ago

Hello everyone.

I am new to GitHub.com, and I have found a priceless information in here. However I need help on how to use the mnisten to create .idx3-ubyte file format in MATLAB. how do I go about it please?

below is the code for the data set I want to convert...:

 %% Load image dataset
 imgFolder1 = fullfile('C:\Users\Jay\Desktop\practical-cnn-2015a\NairaNotes');
 trainingSet = imageSet(imgFolder1, 'recursive');

  %% 
  for digit = 1:numel(trainingSet)

          numImages = trainingSet(digit).Count;           

          for i = 1:numImages

                img = read(trainingSet(digit), i);

          end
end
lenghanyan commented 6 years ago

请你你解决了吗??