필터 지우기
필터 지우기

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

조회 수: 8 (최근 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 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