Except for the first iteration others show NaN
2 ビュー (過去 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.

2 件のコメント
採用された回答
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 件)
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!