Export training-progress plots

9 ビュー (過去 30 日間)
Matthew Miller
Matthew Miller 2024 年 9 月 19 日
回答済み: Matthew Miller 2024 年 9 月 26 日
I am using Matlab on a remote system. I use the -nodesktop flag and interact via command line.
I use trainnet to train deep learning networks. I would like to save and export the training-progress plots for viewing on a local system. Is this possible and if so, how do I do it?
Thank you.

回答 (2 件)

Gojo
Gojo 2024 年 9 月 22 日
編集済み: Gojo 2024 年 9 月 22 日
Hey Matthew,
For exporting the training-progress plots generated on a remote MATLAB machine, you can do the following:
currentfig = findall(groot, 'Tag', 'NNET_CNN_TRAININGPLOT_UIFIGURE');
savefig(currentfig,'test.fig');
  • Alternatively, use a custom plot function in the "trainingOptions", or save the plot manually as specified in the following documentation: https://www.mathworks.com/help/deeplearning/ref/trainingoptions.html#bvniuj4
  • For exporting a copy of the file to your local system, you can transfer the file using scp commad. For instance,the following command would transfer the plot figure to your local system:
scp username@remote_host:/path/to/training_progress.png /local/path/
I hope this was helpful!

Matthew Miller
Matthew Miller 2024 年 9 月 26 日
What is the groot tag? Is that a placeholder?

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by