Clear Filters
Clear Filters

Having problems with the trainnet function

36 views (last 30 days)
Andrew
Andrew on 27 May 2024 at 14:15
Edited: Matt J on 27 May 2024 at 18:26
I am trying to fine tune a machine learning model. While using the trainnet function it states "Training stopped: Training loss is NaN" in the command window. The old trainNetwork functions works, which to me makes it weird that trainnet does not. How do I work around this? Possible solutions?
  1 Comment
Matt J
Matt J on 27 May 2024 at 18:15
Edited: Matt J on 27 May 2024 at 18:26
Please post enough of your code for us to run and reproduce the problem. Please also post the code as formatted text, e.g.,
imageSize=[256,384];
rather than as an image, so that it can be easily copy/pasted.

Sign in to comment.

Answers (0)

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!