Dataset not showing in files tab

I’m working on the C2W1_assigment called " Using CNN’s with the Cats vs Dogs Dataset" and the dataset isn’t showing in my files tab in google colab after I ran the program. I tried multiple times to restart and run everything but it doesn’t show still. However for the C2-W1 ungraded lab called, " Using more sophisticated images with Convolutional Neural Networks" the dataset shows up just fine.

I’m also getting an error that states:

FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/cats-v-dogs/training/cats/’

in the “Test your split_data function” code block.

The contents of the zip file are extracted into ./cats_and_dogs_filtered and not under /tmp

Hello, I’m still having trouble with the error that says:

FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/cats-v-dogs/training/cats/’

How can I fix this?

Is my previous reply unclear?
Please see this statement: base_dir = 'cats_and_dogs_filtered'

Ok, I think I’m starting to understand now, thank you. on the previous lab I see that the files are coming from ‘./cats_and_dogs_filtered.zip’ but on the next assignment all the files have tmp in them. I tried to remove the tmp and it gave me an error called:

FileNotFoundError: [Errno 2] No such file or directory: './cats_and_dogs_filtered ’

Please click my name and message your notebook as an attachment.

Try this on a new cell:
image

I’m guessing that the zip file and the content names not matching up probably confused you.

I just tried that new code you sent me and it works well, but I’m still getting the error called: FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/cats-v-dogs/training/cats/’ Can you give me any advice on how to fix this?

The error is appearing in the “test your split data function” code block

Complete the function create_train_val_dirs to see the training and validation directories. You haven’t created the directories inside the function. Please read instructions in the notebook to match the expected results.