2
$\begingroup$

How can I display all images after augmentation?

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

Thank you

$\endgroup$
4
  • $\begingroup$ Are you following any book or resource? $\endgroup$
    – Ankit Seth
    Jul 16 '18 at 10:30
  • $\begingroup$ No, but I have applied data augmentation and I would like to display it. $\endgroup$
    – N.IT
    Jul 16 '18 at 13:13
  • $\begingroup$ No, but I have applied data augmentation and I would like to display it. $\endgroup$
    – N.IT
    Jul 16 '18 at 13:13
  • $\begingroup$ 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/… $\endgroup$
    – Ankit Seth
    Jul 16 '18 at 13:28
3
$\begingroup$

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.

$\endgroup$
1
  • $\begingroup$ save_to_dir saves the images. Thank you for the solution. $\endgroup$
    – N.IT
    Aug 15 '18 at 13:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.