TF C1_W3 Assignment (no link to the zip file)

When I reach “Explore the Example Data” section It is not getting the data “No such file or directory”

import os
import zipfile

local_zip = './data/cats_and_dogs_filtered.zip'

zip_ref = zipfile.ZipFile(local_zip, 'r')

zip_ref.extractall('./data')

zip_ref.close()

I’m using colab. How to upload the data? I did upload the data folder to my drive where colab is running the .ipynb file but it didn’t see it.

Does this help?

1 Like

Yes, thanks. but I am looking for a way to reach the colab directory and upload the file to it from my device. It looks like the file has been updated but they didn’t handle this issue.

I got it! there is a navigation list to the left of colab page where you can upload files to the directory.
upload files to colab