Unable to open image

Was trying to participate in this new community kaggle competition and where i get to use fastai.
While using this code to view the size of the image in train dataset

img = PILImage.create(files[0])
print(img.size)
img.to_thumb(128)


this is the error i receive. how to resolve this issue?

well was able to resolve the issue the fact that i didnt specify my path properly led to such an error

2 Likes