I got some error when i upload data from colab

src = (ImageList.from_csv(path, ‘train_v2.csv’,folder=‘planet_ understanding_the_amazon_from_space’ ,suffix=’.jpg’)
.label_from_df(label_delim=’ '))

data = (src.transform(tfms, size=128)

FileNotFoundError Traceback (most recent call last)

in ()
4 .label_from_df(label_delim=’ '))
----> 6 data = (src.transform(tfms, size=128)
7 .databunch().normalize(imagenet_stats))

7 frames

/usr/local/lib/python3.6/dist-packages/PIL/Image.py in open(fp, mode)
2765 if filename:
-> 2766 fp = builtins.open(filename, “rb”)
2767 exclusive_fp = True

FileNotFoundError: [Errno 2] No such file or directory: ‘/content/drive/My Drive/Project/planet_ understanding_the_amazon_from_space/planet_ understanding_the_amazon_from_space/train_0.jpg’

Did you unzip the images? The train_0.jpg is probably absent from your drive because of an upload failure. I faced the same problem where there were around 300-400 failed uploads which caused the same error. What i thought was to delete those details of failed uploads on the csv file but i wasn’t able to do that as I’m a novice. Upon several tries, i gave up and executed the notebook on local machine . This link did help me when i faced this problem Lesson 3 - Can't Download Planet Data Images Tar Archive

Also checkout this Lesson 3 - Opening torrent files for Planets datasets in Colab