I have attempted to implement a multi-label image classifier from a bunch of folders but it didn’t work out. The model couldn’t understand that certain images belong to multiple classes. That’s what I did:
- I created 8 classes of different images and placed them in 8 different folders
- Some images were placed in two or more folders as they belonged to a variety of classes
- I trained the model but…it didn’t work. When for instance I display batches it doesn’t show me the different classes of certain images.
My question is: how does the model know that an image can belong to lots of classes? More generally, how does multi label classification from folder work?