Tutorial on using Keras flow_from_directory and generators
Vijayabhaskar J

Hi, I am using flow_from_directory for training for binary classifier. As this function expects I have ’n’ classes of folders under images_train folder. This part is working fine. But test images which are present in images_test folder will not be having separate folders. All the images (dogs & cats) are under images_test folder which will be used for prediction.

When I try to create test generator, I am getting below message. Its not reading no. of images in images_test folder. Can you provide your suggestion on this.

Thanks !