cnn validation accuracy not increasing

조회 수: 15 (최근 30일)
new_user
new_user 2021년 12월 20일
편집: Prince Kumar 2022년 4월 6일
I am not able to increase validation accuracy after 70s. The traing curve is not too smooth. The loss is not saturating! the 2nd image 1001.png has increasing loss after some iteration. I am using laky relu, what to do to reduce the error, saturate the loss curve and increase accuracy. What to do, any suggestions highy appreciated.

답변 (1개)

Prince Kumar
Prince Kumar 2022년 4월 6일
편집: Prince Kumar 2022년 4월 6일
Hi,
According to the attached screenshot, the model is overfitting. This generally happens when your model is learning the data instead of learning the pattern.
Following few thing can be trieds:
  • Lower the learning rate
  • Use of regularization technique
  • Make sure each set (train, validation and test) has sufficient samples like 60%, 20%, 20% or 70%, 15%, 15% split for training, validation and test sets respectively.
  • Perform k-fold cross validation
  • Randomly shuffle the data before doing the spit, this will make sure that data distribution is nearly the same. If your data is in datastore you can use 'shuffle' function else you can use "randperm" function.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by