Hi, I have some images ordered ordered in folders, where the label (quality) for each image is included into the image name.
For example:
Root > sub folder 1 > sub folder 2 > image
Data > fluid_object > category_1 > object1_group_category_quality1.png
Data > fluid_object > category_2 > object1_group_category_quality2.png
Data > hard_object > category_1 > object1_group_category_quality1.png
etc…
I’m new on PyTorch and I’m not sure about how I can create the dataset and the dataloader, or directly the dataloader, starting from data in this form.
Do you have some hint on how I can address that?
Thanks in advance.