Unable to copy files from source file to training/validation directory

I tried copying my files from the source directory to the training and validation directories but not getting it. Also, I could not find an example code in the course.

This specialization assumes that you’re familiar with python. Please use help(copyfile) to get started.

Yes, I am.
But I’m still getting the error message, [Errno 21] is a directory

copyfile expects both source and destination paths to be files.
When invoking, you’ve provided the destination as a directory. Please fix the code.

1 Like