How can i load my own data set of images ?

6 vues (au cours des 30 derniers jours)
Melih Ayhan
Melih Ayhan le 28 Déc 2015
Commenté : Sakshi Sharma le 1 Juil 2021
Hello everyone,
I'm working on cnn to apply deep learning algorithms on a dataset of pictures that i've created. But i couldn't load those images on matlab. Furthermore, if there is anyone working on cnn, i need to do object classification among them, does have any idea how to classification, train and test processes please help me. Thanks already.
  4 commentaires
Melih Ayhan
Melih Ayhan le 29 Déc 2015
Basically it works on mnist dataset; When im doing below
load mnist_uint8;
But when i'm trying to do this:
load my_dataset;
It says No such file or directory...
my_dataset is a folder and also contains two different folders which has 100 images. I'm trying to appyl cnn on those photos but i cant load the database on workplace. (i'm new on matlab, if this is a silly question, im sorry about it)
Thanks already :)
Sakshi Sharma
Sakshi Sharma le 1 Juil 2021
Hi, I am also doing the same but loading my own dataset of 25 images. Can you please guide me with whole process and code with the same, as I am assuming you had already done with this question solution.
Thanks!

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 28 Déc 2015
  5 commentaires
Melih Ayhan
Melih Ayhan le 29 Déc 2015
Thanks for the answer,
folder = 'c:/whatever';
myImages = imageSet(folder);
this one works
But i think i need to convert the whole folder into a *.mat file to apply my cnn. Do you know a way to do that ?
Image Analyst
Image Analyst le 29 Déc 2015
Use code from the FAQ to open a sequence of files: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
Then, in the middle of the loop, take whatever variables you want to save in .mat files and save them with a call to load().

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by