Train Convolutional Neural Network for Regression with augmented image
显示 更早的评论
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?
回答(1 个)
Shreeya
2023-8-29
0 个投票
Hi Tiago
To implement data augmentation in the example you've mentioned, you can follow these steps:
- Load the datase: Load the dataset as per the example
- 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:.
https://in.mathworks.com/help/deeplearning/ug/image-augmentation-using-image-processing-toolbox.html
Hope this helps!
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!