Keras cifar10 example validation and test loss lower than training loss

后端 未结 2 549
日久生厌
日久生厌 2021-02-14 23:34

I\'m playing around with the cifar10 example from Keras which you can find here. I\'ve recreated the model (i.e., not same file but everything else pretty much the same) and you

2条回答
  •  悲哀的现实
    2021-02-15 00:13

    This is a rare phenomenon but it happens from time to time. There are several reasons why this might be the case:

    • smaller datasets have smaller intrinsic variance so this means that your model properly captures patterns inside of your data and train error is greater simply because the inner variance of training set is greater then validation set.
    • Simple accident - this might also occur - that your split is suitable for such behaviour.

提交回复
热议问题