I have installed latest version (2.2.4)of keras from Github just yesterday.

I forgot to mention one thing. I have only one folder which contains both train and test data images (ex. dog vs cat examples are in the same folder), train_df and test_df has ‘image_name’ column which indicates which images are part of train & test set. Does flow_from_dataframe work in such case for test_data_generator?

I am using flow_from_dataframe for another problem where I have 2 separate folders for train and test set for which I am getting correct count for test datagenerator. As I mentioned above, here I have separate folder for test set. Please let me know your thoughts.

Data Science | Machine Learning | Python. Visit https://pythonsimplified.com/ for interesting articles on Python and Machine Learning

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store