2
$\begingroup$

I want to create a CNN model and I am using data augmentation. I want know the number of augmented images in Keras.

How to determine the number of the training images in Keras after data augmentation?

For example, if I have 2000 images for training and I am applying data augmentation, what is the number of the images after augmentation?

$\endgroup$
0
$\begingroup$

The images in the dataset are not used directly. Instead, only augmented images are provided to the model. So, your answer is 2000 images

$\endgroup$
-1
$\begingroup$

You can generate as many as augmented images in Keras using ImageDataGenerator. I struggled with the same problem and figured out that there is an infinite number of images you can generate. Second thing is you can limit the number of images to be generated.

$\endgroup$
  • $\begingroup$ I want to know the exact number of images after data augmentation. $\endgroup$ – N.IT Sep 12 '18 at 15:12

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.