ImageDataGenerator - how can I see which images are misclassified?

If I have an image Generator like:

testImageGenerator = imageDataGenerator.flow_from_directory(testDataset,
                                                            target_size=(224, 224), 
                                                            batch_size=1, 
                                                            save_to_dir="/content/come",
                                                            shuffle=False)

And I get misclassifications, how can I get the paths of the misclassified images?

Thanks, first time posting here :slight_smile: