Keras images with no subfolders
Set classes to None
and put all images into one subfolder of your image folder.
For example:
flow_from_directory(directory = "/path/to/your/images/", class_mode="None", …)
- put your images into
/path/to/your/images/data