Tuesday, May 11, 2021

 ValueError: Asked to retrieve element 0, but the Sequence has length 0


This error  is thrown by ImageDatasetGenerator.flow_from_directory if the given directory is empty, it does not contain any images.

No comments:

Post a Comment

Loop Engineering: Designing the Systems That Prompt Your Agents

Loop Engineering For the last couple of years, the core skill in working with AI was writing a good prompt. You'd craft careful instru...