Hello, I am trying the image classification on caltech 101 dataset in Colab environment, and I get this error while creating the ImageDataBunch:
“index 0 is out of bounds for axis 0 with size 0”
This is how I create it:
data = ImageDataBunch.from_folder(path, train=’.’, ds_tfms=tfms, valid_pct=0.25, size=224).normalize(imagenet_stats)
I have tried creating it with train=“training” and valid=“testing” as well. and I have defined my path:
path = untar_data(downloaded dataset)
I have also mounted my drive. Thank you in advance!