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!