Ask for help, my training-progress can 't show, can anyone help solve it ?

options = trainingOptions('adam', ... % Adam 梯度下降算法
'MaxEpochs', 500, ... % 最大训练次数 500
'InitialLearnRate', 1e-3, ... % 初始学习率为 0.001
'L2Regularization', 1e-4, ... % L2正则化参数
'LearnRateSchedule', 'piecewise', ... % 学习率下降
'LearnRateDropFactor', 0.1, ... % 学习率下降因子 0.1
'LearnRateDropPeriod', 400, ... % 经过450次训练后 学习率为 0.001 * 0.1
'Shuffle', 'every-epoch', ... % 每次训练打乱数据集
'ValidationPatience', Inf, ... % 关闭验证
'Plots', 'training-progress', ... % 画出曲线
'Verbose', false);

7 Commenti

Training-progress has been maintained in this interface, no other display.
Hi @ao,
Could you please provide additional resources, such as full code examples, and explain the procedure you followed to reproduce the issue? This would be very helpful.
Hi @Jaimin
Any deep learning code, Training-progress can not be displayed.....
@ao Understood. I will provide you with a command to run in your "Command Window" of MATLAB. Please execute it and run the script. If it still doesn't work, kindly let me know which version of MATLAB you are using.
openExample('nnet/PlotAccuracyDuringTrainingExample')
@Jaimin The Training-progress still doesn't work, My matlab version is 2023b,thank you
@ao I have tried the following command on MATLAB R2023b on Windows OS, and it worked for me. Could you please let me know which OS or system you are using for model training?.
openExample('nnet/PlotAccuracyDuringTrainingExample')

Accedi per commentare.

Risposte (2)

Cris LaPierre
Cris LaPierre il 14 Ago 2024
Modificato: Cris LaPierre il 14 Ago 2024
If it worked before, please try restarting MATLAB. If it still doesn't work, try restarting your computer.
If it still does not display correctly, please contact support: https://www.mathworks.com/support/contact_us.html
Hi, I face a similar problem and I am using Matlab 2024a. I wonder if the root cause is the system itself?!

2 Commenti

I found another alternative; [net,info]=trainnet(XTrain,YTrain,net,”mse”,options); info; show(info);
Thats it.
Hi, thank you very much for your good idea.

Accedi per commentare.

Categorie

Prodotti

Release

R2023b

Richiesto:

ao
il 14 Ago 2024

Commentato:

ao
il 21 Ago 2024

Community Treasure Hunt

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

Start Hunting!

Translated by