thanks, so for the problem I have in hand I don’t have a labelled data set they all have a -1 labels coming in the txt files after the name of each image. So I don’t have a ground truth I want to pass next to each image name a 1 or a 0 if the class exits in the image.
I was having two difficulties the first is the structure of my directory matching the imagenet directory to use the dataloader features root/class/imagename, so does the directory and data frame I have work or do I need to change it?
The second difficulty is the fact that I don’t have any labels for the class so it is an unsupervised problem as when I was exploring the data set using pandas I found that all the class files are just filled with the image names and have a -1. Any idea what is the best way to set up an unsupervised problem?
data/
├── images/ # dir for jpg files
├── aeroplane.txt # aeroplane object class labels
├── bicycle.txt # bicycle object class labels
├── bird.txt # bird object class labels
├── boat.txt # boat object class labels
├── bottle.txt # bottle object class labels
├── bus.txt # bus object class labels
├── car.txt # car object class labels
├── cat.txt # cat object class labels