Except for the first iteration others show NaN
1 次查看(过去 30 天)
显示 更早的评论
When I start training my CNN it shows me training details only on first iteration, and I've already check the training data size and the validation data size is 100000 and 20000, I was wondering is it normal process or not. Thank you.
采纳的回答
KSSV
2021-9-1
Try reducing the initial learning rate.
options = trainingOptions('adam') ;
options.InitialLearnRate
options.InitialLearnRate = 10^-4 ;
options.InitialLearnRate
If the above works well and good. If not show us your full code and data.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!