フィルターのクリア

How to save training progress plot generated by "trainNetwork"?

60 ビュー (過去 30 日間)
Chee Ho Ng
Chee Ho Ng 2018 年 1 月 6 日
回答済み: Tjokorda 2024 年 7 月 23 日 2:42
For CNN training using "trainNetwork", its "trainingOptions" setting allow us to show the training progress plot while training.
My question: How can we auto-save the plot after training end?
There is a short answer from this thread:
https://www.mathworks.com/matlabcentral/answers/373963-how-do-i-save-the-training-progress-images-generated-in-trainnetwork-when-plots-is-set-to-train
But I still don't know how to do it. A simple example code will be much appreciated!
Thanks in advance!
  2 件のコメント
Alok
Alok 2018 年 5 月 31 日
Perhaps PrintScreen option could be used.

サインインしてコメントする。

回答 (2 件)

Abhijit Bhattacharjee
Abhijit Bhattacharjee 2022 年 5 月 19 日
Have a look at a previous answer to a similar question.

Tjokorda
Tjokorda 2024 年 7 月 23 日 2:42
I used this code to save Training figure
h= findall(groot,'Type','Figure');
%searching fig tag for Training Progress
for i=1: size(h,1)
if strcmp(h(i).Tag,'NNET_CNN_TRAININGPLOT_UIFIGURE')
savefig(h(i),"SC Trained2.fig");
break
end
end

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by