Except for the first iteration others show NaN
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
KAI-YANG WANG
el 31 de Ag. de 2021
Comentada: KAI-YANG WANG
el 2 de Sept. de 2021
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 comentarios
Respuesta aceptada
KSSV
el 1 de Sept. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!