Grading Error C2W1

Hi, I’m sending my first grading assignment but is showing the following error :

There was a problem compiling the code from your notebook. Details:
[Errno 2] No such file or directory: ‘/tmp/cats-v-dogs/training/cats/’

The Training History passed without problems. can somebody help me with this?

I’ve moved your post to the right category. Please do this for your other posts to improve your chances of getting a response.

Click my name and message your notebook (ipynb file) as an attachment.

The problem is in def create_train_val_dirs(root_path).
Please use function parameters and local variables instead of global variables when possible.

yes it worked!!!
thanks a lot for your help