Create a multi-label image classificator from folders


I have attempted to implement a multi-label image classifier from a bunch of folders. I think from_folder method isn’t prepared for multi-label classification, and I should use methods from_df or from_csv, but these methods seem to require all the images to be located in the same folder.

I would like to keep each image in its category sub folder (because I have about 50 categories and hundreds of images for each one), and apply multi-label based on a csv file o a df.

My question is: Does anyone know if it is possible to do that?