Lesson 2 FileNotFoundError for Data Cleaner

Hey everyone. For the image recognition problem is lesson 2, I’m using the data cleaner to delete some images from the training and validation sets. However, once the images are deleted and I try to retrain the model, I get the following errors:

FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0.

FileNotFoundError: [Errno 2] No such file or directory: ‘/notebooks/Huge Jacked Man/Hugh Jackman/00000101.png’

Does anybody have any idea whats going on here?

1 Like

I think you need to re-build the DataLoader. You probably changed the files on disk, but the file name was not updated in the DataLoader.

4 Likes