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
Srivardhan Gadila 2020-9-30
The following are few suggestions:
  1. Make sure that all the classes have equal number of observations.
  2. 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.
  3. 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.
  4. Try Using dropout layers & increasing global L2 regularization factor in new architecture. For more information, see dropoutLayer & 'L2Regularization' option in trainingOptions.

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by