Except for the first iteration others show NaN
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/726134/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/726134/image.png)
2 Commenti
Risposta accettata
KSSV
il 1 Set 2021
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.
2 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!