9/09/2015

mnist image dataset (jpg files)

The MNIST dataset is a dataset of handwritten digits, comprising 60 000 training examples and 10 000 test examples. The dataset can be downloaded from http://yann.lecun.com/exdb/mnist/.
MNIST data is provided in binary file for user convenience.

But, in my case, this binary type is more difficult.
I am needed image files.

I want to start whole process of deep learning(make leveldb file, learning, classify) using MNIST data and compare to example result in caffe model.

This site tells me a hint how to make image datas.

This is my matlab code for making jpg file.

%%
clc;
clear all;

% Change the filenames if you've saved the files under different names
% On some platforms, the files might be saved as
% train-images.idx3-ubyte / train-labels.idx1-ubyte

% We are using display_network from the autoencoder code
display_network(images(:,1:60000)); % Show the first 100 images
disp(labels(1:1));

% save one digit number to jpg file
%{
[w h]=size(images)
endIndex = h;

dindex=zeros(10,1);
for j=1:endIndex
aImg = reshape( images(:,j), 28, 28);
imshow(aImg);

label = labels(j);
dindex( label+1 ) = dindex( label+1 ) +1;
dataD = strcat('./data2/mnist_', num2str( label ), '_', num2str( dindex(label+1) ), '.jpg' );

%dindex
end

fileID = fopen('test.txt','w');
%make path and label
dindex=zeros(10,1);
for j=1:endIndex

label = labels(j);
dindex( label+1 ) = dindex( label+1 ) +1;
dataD = strcat('/data2/mnist_', num2str( label ), '_', num2str( dindex(label+1) ), '.jpg' );
end
fclose(fileID);
%}

---

And images of mnist files

If you need images of mnist, request to me, I will send by email.
The file size is approximately 37 MB.

Thank you.

full data is here.

1. Send me a whole program because they do not work for me mail janek1-17@o2.pl

1. This comment has been removed by the author.

display_network.m

http://ufldl.stanford.edu/wiki/resources/mnistHelper.zip
Thank you

3. Anonymous1/5/16 00:40

What should replace the "filename"?

2. Plz sent me all train and test images dataset, i tried this MATLAB code but it doesn't work so kindly email me on zakia.yahya134@gmail.com

Thank you.

3. Hi JH Kim!

Im on project "RICE GRADING USING IMAGE PROCESSING" that means need to know how many percent good rice and not good rice. So i need to extract some features from image and training. Can you give me some suggestions. How can i extract feature and what the good method to train them.
Many thanks!!

1. I think it is not easy project.
For more detail advise, I should see test image.
First, we should detect each rise and pose normalization and grade recognition.

4. Hello.
Please I want to create a dataset of my own images in idx3-ubyte format. How can it be done please? My email is Ouche.joseph@gmail.com

5. Hello.
Please I want to create a dataset of my own images in idx3-ubyte format. How can it be done please? My email is Ouche.joseph@gmail.com

6. Hello.
Please I want to create a dataset of my own images in idx3-ubyte format. How can it be done please? My email is Ouche.joseph@gmail.com

7. Hello.
Please I want to create a dataset of my own images in idx3-ubyte format. How can it be done please? My email is Ouche.joseph@gmail.com

1. your question is that to create idx3-ubyte format from images right?
That way I don't know.
This example is contrary case.
Sorry.

8. hi please send me the jpeg files to neelima.niz@gmail.com
as iam doing research i request your kind help

9. it will be so kind of you if u can send me the jpeg images. i tried alot to save the images in jpeg format. but iam getting the error. please send me the jpeg files. thankyou