Vijayabhaskar J
1 min readApr 17, 2019

--

Hi,

If the paths are correct and the files exists, then there is two possibilities:

  1. You have duplicate images that may exist both in train and valid(or test) directories. In this case try drop_duplicates=False
  2. 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.

--

--

Vijayabhaskar J
Vijayabhaskar J

No responses yet