No such file or directory: '/root/.fastai/data/oxford-iiit-pet/images/grizzly.jpg'


This is a cell from chapter 05_pet_breeds
This error occurs when I try this cell. And there isn’t ‘images’ folder under Path.cwd(). However, there is ‘images’ folder under path. And when I try path instead of Path.cwd(),

Seems like fastai doesn’t contain ‘grizzly.jpg’ at all…

Tried again and this happens
FileNotFoundError: [Errno 2] No such file or directory: ‘/content/images/grizzly.jpg’
Any ideas? Thank you in advance!

Hi Jessica

Try !find / -name XXXXX -print to find the file. Is /content pointing to your Google Drive

Regards Conwyn


So here’s where it is. But I have no idea how to access it. So i just replaced ‘grizzly.jpg’ with an available image that is actually in the ‘images’ folder.