# Display images after augmentation in Keras

How can I display all images after augmentation?

How can I get the number of the trained data after augmentation?

Thank you

• Are you following any book or resource? Jul 16 '18 at 10:30
• No, but I have applied data augmentation and I would like to display it.
– N.IT
Jul 16 '18 at 13:13
• No, but I have applied data augmentation and I would like to display it.
– N.IT
Jul 16 '18 at 13:13
• Try to follow a book/resource on deep learning. You will find these kind of tasks there along with the code. One in particular - deeplearningitalia.com/wp-content/uploads/2017/12/… Jul 16 '18 at 13:28

Depending on the kind of data set you are using you can use .flow (if you have data as numpy arrays) or .flow_from_directory (if you have images in file system) to run through the data generator and save the output using save_to_dir argument.