stop training model in matlab

7 views (last 30 days)
lana hamad
lana hamad on 7 Dec 2020
Answered: Nitin Kapgate on 17 Dec 2020
I train faster R-CNN with ten epochs, so how can I stop the model training and It did not finish with ten epochs?

Answers (1)

Nitin Kapgate
Nitin Kapgate on 17 Dec 2020
You can use trainingOptions function (network training options) to specify the maximum number of epochs (10) using the 'MaxEpochs' name-value pair option.
The value of 'MaxEpochs' is set to 30 by default.
You can refer to this example to learn more about setting up different network training options.

Community Treasure Hunt

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

Start Hunting!