其他分享
首页 > 其他分享> > 深度学习神经网络训练技巧汇总

深度学习神经网络训练技巧汇总

作者:互联网

I. Loss not changing problems:

Issue: Model predicts one of the 2 (or more) possible classes for all data it sees*

Confirming issue is occurringMethod 1: accuracy for model stays around 0.5 while training (or 1/n where n is number of classes). Method 2: Get the counts of each class in predictions and confirm it’s predicting all one class.

Fixes/Checks (in somewhat of an order):

* Normalize the images;

* change of the optimizer, from Adam to SGD;

* Change of learning rate, from 1e-1 to 1e-6, or even more;

标签:layers,技巧,trainable,汇总,your,神经网络,learning,model,Check
来源: https://blog.csdn.net/bmwlwg/article/details/100932882