How to print to command line train status (epoch, performance etc).

1 Ansicht (letzte 30 Tage)
Tomas Koctur
Tomas Koctur am 16 Jan. 2017
Beantwortet: Mibang am 22 Dez. 2023
Hello,
I am running Matlab without GUI. I am trining narnet with large input data set and it takes days to train. I would like to see progress in a command line. Is there any way to get it?
Thanks
  1 Kommentar
Andrik Rampun
Andrik Rampun am 21 Feb. 2019
Hi Tomas,
I'm doing similar. Have you got the solution for this?
Please share it here
Thanks

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Mibang
Mibang am 22 Dez. 2023
Your can select the training option of "Verbose"' as "1" or "true".
For instance, your traiing option looks something like below:
options = trainingOptions('adam', ...
'MaxEpochs',200, ...
'MiniBatchSize',50, ...
'InitialLearnRate',0.01, ...
'LearnRateDropPeriod',3, ...
'LearnRateSchedule','piecewise', ...
'GradientThreshold',1, ... %'Plots','training-progress',...
'shuffle','every-epoch',...
'Verbose',1,...
'DispatchInBackground',true);

Kategorien

Mehr zu GPU Computing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by