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

1 次查看(过去 30 天)
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 个)

Mibang
Mibang 2023-12-22
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);

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by