Closed
Description
🚀 Feature
Torchvision's Imagefolder class Takes in root as an argument, I want to add an additional argument that takes in sub-directories within root to load data only from those folders.
Motivation
While working with large datasets and a messy folder structure I would prefer to mention the folder names in the base directory that I load my data from, this saves time and a don't have to constantly keep arranging my folders.
Pitch
An optional argument that the Image folder class's constructor takes this argument is an iterable,
The ImageFolder class loads data only from the folders mentioned in the iterable.
Additional context
Thanks
Metadata
Metadata
Assignees
Labels
No labels