Does image augmentation increase the number of training data?

4 views (last 30 days)
My data availability is very less i.e only 745 images (340, 225,130,50 images in each category). I used augmentedImageDatastore function but the result is still poor. I would like to know whether image augmentation actually increases the number of data during training or it just transforms the existing images but the number of data remains the same. if its the latter case, how can I increase the number of data?

Accepted Answer

Arun Mathamkode
Arun Mathamkode on 20 Apr 2018

augmentedImageDatastore increases the training data by performing resizing, rotation, and reflection etc. Technically it is transforming the existing images but for the network it will be a different data and it prevents the network from overfitting and memorizing the exact details of the training images. But in your case, I can see the available images are very less and hence even with data argumentation I belive you are still running short of data.

In case you are not tried, you can also try transfer learning .

  1 Comment
adam R
adam R on 31 Aug 2018
Edited: adam R on 31 Aug 2018
The actual number of training images at each epoch does not change.
https://www.mathworks.com/help/nnet/ref/augmentedimagedatastore.html#mw_53d6e643-585d-4781-bcc6-1e8b98758e78

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!