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

10 ビュー (過去 30 日間)
HAMON EMON
HAMON EMON 2022 年 8 月 31 日
回答済み: V Sairam Reddy 2022 年 9 月 7 日
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 Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by