Hello, I am a bit new in pytorch, so I have a problem now with uploading images.
I want to do Over-Sampling with my data. So I decided to make a dictionary where key is class label and values are absolute ways to images of this class. Then I count amount of images of every class and if this amout < 100 I increase the number of paths. But because of transforms this trick should work, I think. So, now I need to make an ImageFolder with images from this paths, but I, actually, don’t know how, because ImageFolder requires subfolders.