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

조회 수: 2 (최근 30일)
ao
ao 2024년 8월 14일
댓글: ao 2024년 8월 21일
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
Jaimin
Jaimin 2024년 8월 14일
@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')

댓글을 달려면 로그인하십시오.

답변 (2개)

Cris LaPierre
Cris LaPierre 2024년 8월 14일
편집: Cris LaPierre 2024년 8월 14일
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

SITI ZAINAB
SITI ZAINAB 2024년 8월 20일
Hi, I face a similar problem and I am using Matlab 2024a. I wonder if the root cause is the system itself?!
  댓글 수: 2
SITI ZAINAB
SITI ZAINAB 2024년 8월 20일
I found another alternative; [net,info]=trainnet(XTrain,YTrain,net,”mse”,options); info; show(info);
Thats it.
ao
ao 2024년 8월 21일
Hi, thank you very much for your good idea.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by