How do I pause the ANN training and check the ANN performance

8 次查看(过去 30 天)
Hi all,
I want to train an ANN. I hope to pause the training process(not cancel) and look for the performance of this neural network. If the performance is great, then I will terminate the training and save the net. If not, I will keep the process going. So how do I attain this goal?
Thanks for your helping! I really appreciate with that :)

回答(1 个)

V Sairam Reddy
V Sairam Reddy 2022-9-7
I understand that you are trying to pause the training to check the performance and then resume it once the progress seems satisfactory.
One way is to get a live script of the training process using “Generate code” option after using “nnstart” command at the command line in the latest version of MATLAB (R2022a) so that one can pause the simulation in-between the training which pauses the training.
But even then, when the training is paused, the performance plots does not show up unless the training is finished.
To get the flexibility like increasing/decreasing the number of hidden layers, or set the number of epochs, etc please go through the 'Deep Learning Onramp' which can help you to get started with deep neural networks in MATLAB.
Please refer to the following example Train Network with Numeric Features - MATLAB & Simulink mainly the following sections :
  1. “Define Network Architecture”
  2. “Specify training options”
  3. “Train Network”
which provides the flexibility along with the following GUI while training.

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by