How to interpret increase in both loss and accuracy

前端 未结 3 1066
野的像风
野的像风 2021-01-31 17:54

I have run deep learning models(CNN\'s) using tensorflow. Many times during the epoch, i have observed that both loss and accuracy have increased, or both have decreased. My und

3条回答
  •  感动是毒
    2021-01-31 18:22

    I'd like to add a possible option here for all those who struggle with a model training right now.

    If your validation data is a bit dirty, you might experience that in the beginning of the training the validation loss is low as well as the accuracy, and the more you train your network, the accuracy increases with the loss side by side. The reason why it happens, because it finds the possible outliers of your dirty data and gets a super high loss there. Therefore, your accuracy will grow as it guesses more data right, but the loss grows with it.

提交回复
热议问题