フィルターのクリア

CNN training stopped after 8 iterations

3 ビュー (過去 30 日間)
new_user
new_user 2021 年 12 月 19 日
回答済み: Srivardhan Gadila 2021 年 12 月 27 日
a cnn model in layers structure is showing no error during network analysis but it's stopping at during the training. Showing Training loss is Nan, and stoping after 7-8 iterations only. Can anyone suggest what could be wrong??
  2 件のコメント
Sahil Jain
Sahil Jain 2021 年 12 月 22 日
Please attach your code and if possible, the data to make it easier for us to help you.
KSSV
KSSV 2021 年 12 月 22 日
Try changing the learning rate.

サインインしてコメントする。

採用された回答

Srivardhan Gadila
Srivardhan Gadila 2021 年 12 月 27 日
If the predictors or the responses contains NaNs, then they are propagated through the network during training. In these cases, the training usually fails to converge. Also, starting from the release R2021b, the trainNetwork automatically stops training when loss is NaN.
You can refer to the following documentation for more information: trainNetwork automatically stops training when loss is NaN, Improve Training Accuracy.

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by