I am working on a image classification project right now. I have a train dataset consists of 102165 png files of different instruments.
I have only a train folder which contains all the image files as the above screenshot shows. There are total 10 classes and it all starts with xxxxx_acoustics_xxxxxxxxxxxx. I already wrote a script to extract the names and manages to get all 10 class labels.
My questions is that is there a way to use ImageFolder to load these data ? I know that ImageFolder requires sub-folders, but since I have such amount images, I think move them into different sub-folders would be very time-consuming.
Can anyone points out what can I try ? Thanks in advance!
I