C2 W1 Assignment No such file or directory: '/tmp/cats-v-dogs/validation/cats/'

When I run the first cells I should see the downloaded file in the Files section in Colab, but I don’t have any folders there

and I got this error again and again

and here is the function that I’ve written

If anyone can help me please do…

1 Like

I am also experiencing this issue on colab.
Commenting so this would be brought and hopefully attended to.

Hello @basel_mather
I finally solved this problem , I used os.mkdir and I hardcoded the file paths.
It worked and I’ve moved past that point now.

Can you show your code for this?

sure, here


Hello @sahithi_pothuri ,

Welcome to the community!!!

You can keep the screenshots of your error and test your split_data function, but kindly delete the screenshot for your split function code snippet so that the code is not directly visible to the learner, so that they get the opportunity to code on their own, as per the community guidelines.

Send me your notebook via dm. By clicking on the profile picture, you will see an option to message. There you can attach your notebook. Then we can discuss the issues here, under this topic, on discourse.

With regards,
Nilosree Sengupta

Hii nilosreesengupta,

Thank you for responding and issue is resolved.

Hello @sahithi_pothuri ,

That’s great!!
Happy Learning!!

With regards,
Nilosree Sengupta

How do you solve this problem, please?