- Make sure that all the classes have equal number of observations.
- Check how trainNetwork uses an augmented image datastore to transform training data for each epoch: Augment Images for Training with Random Geometric Transformations. Then try training the network with augmentedImageDatastore for more epochs.
- Try changing the network architecture itself if there is no improvement in the accuracy when augmentedImageDatastore is used. You can refer to Choose Network Architecture.
- Try Using dropout layers & increasing global L2 regularization factor in new architecture. For more information, see dropoutLayer & 'L2Regularization' option in trainingOptions.
Mini batch accuracy in toggling between two values and settled in 75 percent. Please provide some suggestions to increase the accuracy and also not getting good testing accuracy.
2 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Srivardhan Gadila
2020-9-30
The following are few suggestions:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!