Issue with missing image in URL in lesson "Multimodal Embeddings"

Hi,

I cannot complete the lesson “Multimodal Embeddings” notebook as a URL
image file is missing “Flickr file 356148800_9bf03b6116_z.jpg
the picture of the lounging cat, this causes all the following code not to work
as thus:


UnidentifiedImageError Traceback (most recent call last)
Cell In[2], line 5
2 from IPython.display import display
4 for img in [img1, img2, img3]:
----> 5 image = Image.open(img[‘image_path’])
6 caption = img[‘caption’]
7 display(image)

File /usr/local/lib/python3.11/site-packages/PIL/Image.py:3339, in open(fp, mode, formats)
3337 warnings.warn(message)
3338 msg = "cannot identify image file r" (filename if filename else fp)
→ 3339 raise UnidentifiedImageError(msg)

UnidentifiedImageError: cannot identify image file ‘/home/jovyan/work/L2/shared_data/cat_1.jpg’

Hi @jack99

can I know you are running codes in course provided environment?

Also if possible share a screenshot of complete error log rather than copy pasting error

The file file in the error message “Unidentified image” appears to exist in the notebook:

that’s why I asked him for reason if he is running codes locally and has not downloaded the metadata files

Hello all,

Yes, I’m running it in the course-provided environment here are the error codes:

Regards,

1 Like

hi @jack99

tagging staff, so they know this issue occurred with you.

@lesly.zerna can you please check why this 401 error is occurring as even when I tried the url link even I got the 401 error and that seems to be related to site authorisation related issue.

Regards
DP

Hi DP, the error I get is 410File not found

m sorry, yes I just checked.

When I checked I got 401 error on that url