I’m trying to train a model on data. The data is in train, valid, and test folders. in each folders there is a bunch of image files. The label is in the name of the file.
I succeeded in making a dataloader from one of the folders using
ImageDataLoaders.from_name_func, but want to have the validation set come from the valid folder instead of being some pct of the train set.
Anyone knows how to approach this?
I need something similar to GrandparentSplitter I guess, but for the parent folder, not the grandparent.