includeSubFolders name value pair argument

3 views (last 30 days)
when i included the includesubfolders it returns this error idk what it means. If somebody can help me. Thank you
myfolder = 'C:\address path of the folder im calling ';
dataDir = fullfile(myfolder);
imdir = fullfile (dataDir,'rgb');
imds = imageDatastore(imdir, "IncludeSubfolders","LabelSource","foldernames");

Accepted Answer

Stephen23
Stephen23 on 23 Nov 2021
Edited: Stephen23 on 23 Nov 2021
imageDatastore(imdir, "IncludeSubfolders",true, "LabelSource","foldernames");
% ^^^^ you forgot this

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!