Google Colab Error in Lesson 0: Image open not working, no data to be found anywhere in the folder

As shown above the image isn’t loaded. Looking around I saw:

There is no folder called images. Moreover, there is no such folder auto-copied to Google Drive either, so either something is missing in the setup script or there are some “data procuring” rules I haven’t read. I’m not sure if there is any data being added on the colab machine.

Note: This issue has been raised before, sometimes articulately, sometimes not, but has not been resolved in whatever I searched through the forums

1 Like

Can we see your notebook?

Sure thing!

Hi aryanagal hope all is well!

I have looked at your notebook, and it appears that you will need to copy the images directory in the notebook repository to your content drive in Colab.

Cheers mrfabulous1:smiley::smiley:

Hi aryanagal.
Here is one of many solutions.

1. Run the following in the notebook.

folder = ‘notebook_tutorial’
path = Path(’/content/images/’)
dest = path/folder
dest.mkdir(parents=True, exist_ok=True)

2. Drag and drop the files from your desktop to the notebook_tutorial directory.

Cheers mrfabulous1 :smiley::smiley: