Question about function augmentedImageDatastore

4 visualizaciones (últimos 30 días)
Panos Mare
Panos Mare el 18 de Oct. de 2018
Respondida: Jayanti el 2 de Abr. de 2025
I would like to ask a question about Matlab's function augmentedImageDatastore. If I understood correctly, it doesn't increase the (train) dataset by creating (even if it doesn't store them) additional (transformed) dataset samples, it just performs a bunch of mathematical operations at the samples of mini batch (with some predefined probability).Does that lead to the conclusion that at each epoch, the CNN is being trained at a slightly different dataset?

Respuestas (1)

Jayanti
Jayanti el 2 de Abr. de 2025
Hi Panos,
The “augmentedImageDatastore” in MATLAB does not create or store additional transformed samples as part of the dataset. It applies transformations such as resizing, rotation and reflection for each epoch, so that it uses a slightly different data set.
Because of this augmentation, the CNN sees a slightly different version of the dataset. This can help improve the model's generalization ability by exposing to a wider variety of scenarios, reducing overfitting, and making the model more robust.
You can also refer to the below official MathWorks documentation link on “augmentedImageDatastore” for more details:

Community Treasure Hunt

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

Start Hunting!

Translated by