Effacer les filtres
Effacer les filtres

Train Convolutional Neural Network for Regression with augmented image

1 vue (au cours des 30 derniers jours)
Tiago de Bortoli
Tiago de Bortoli le 24 Août 2023
Réponse apportée : Shreeya le 29 Août 2023
Hello
I'am trying to implement a Convolutional Neural Network for Regression with augmented image, and, for this, I try to use this exempla for my dataset:
But I can't implement data augmentation in this example. What is the simplest way to implement data augmentation for this example?

Réponses (1)

Shreeya
Shreeya le 29 Août 2023
Hi Tiago
To implement data augmentation in the example you've mentioned, you can follow these steps:
  1. Load the datase: Load the dataset as per the example
  2. Implement Data Augmentation with Image Processing Toolbox: MATLAB provides the Image Processing Toolbox which can be used for various image operations to augment a dataset. In this case, Since you want to predict the angle of rotation of handwritten digits, image operations such as rotation, translation, sheer and scale can help augment the training dataset. The documentation linked below contains the implementation of all these operations:.
Hope this helps!

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by