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