Using ImageClassifierData.from_csv How do I indicate the columns where my files and labels are respectively?

I’m trying to do the Honey Bee Pollen dataset. ( https://www.kaggle.com/ivanfel/honey-bee-pollen ) But I’m running into a problem: the first column is not file names. It’s actually a row index. So fastai is using those row indices as file names which obviously does not work. I could delete the first column, but presumably, it’s possible to tell fastai which column to use right? But how do I do that?

1 Like