Borrar filtros
Borrar filtros

Split image dataset into two separate folders

4 visualizaciones (últimos 30 días)
Andrea Daou
Andrea Daou el 3 de Mzo. de 2021
Editada: Andrea Daou el 3 de Mzo. de 2021
Hello all,
I need to split an image dataset folder into two seperate folders.
In general i use :
imds = imageDatastore(dataset,...
'IncludeSubfolders',true,'LabelSource','foldernames');
[trainingSet, testSet] = splitEachLabel(imds, 0.7, 'randomize');
but how can I get the two seperate folders, because I need them for other processing things ?
More precisely, I want to divide each category folder to two separate folders one for training and one for test with a definite percentage rate (for example 30% of the category folder images are saved in test folder and the other 70% in training folder).
Thank you for your help!

Respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by