1 min readApr 17, 2019
Hi,
If the paths are correct and the files exists, then there is two possibilities:
- You have duplicate images that may exist both in train and valid(or test) directories. In this case try drop_duplicates=False
- You may have images in a format that does not supported by keras. Which are removed automatically. Try validate_filenames=False which may throw an error later if you have unsupported images.