To import images with labels as their folder's name in matlab we write,

imds = imageDatastore('D:/data',...

'IncludeSubfolders',true,'LabelSource','foldernames')

What will be the equivalent way of doing it in Python?

More Amlan Basu's questions See All
Similar questions and discussions