classOptions = trainingOptions('sgdm', ...
...
'Plots','training-progress');
I have a Deep Learning script that I would like to deploy as an exe.
I get the error message that the training progress plots are not supported.
2 Questions:
a) How can I make a switch inside my program that determines if it is run from within Matlab or from the Exe?
i.e. if "matlab"
'Plots','training-progress');
else
'none','training-progress');
b) the training progress outputs on my screen. How can I capture these numbers in an array, so that I can plot it myself at the end when running the executable version?
thanks!

 採用された回答

Roshni Garnayak
Roshni Garnayak 2020 年 1 月 8 日

0 投票

To check if the code is run in the MATLAB mode or deployed mode, use ‘isdeployed’ function. Refer to the following link to know more about the function:

2 件のコメント

Jan
Jan 2020 年 1 月 8 日
Thanks Roshni,
that is exactly the command I was looking for.
Very helpful
Jan
sweta sharma
sweta sharma 2022 年 12 月 28 日
but does it mean the progress can not be shown when the application is deployed?
Is there any way?

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Deep Learning Toolbox についてさらに検索

製品

リリース

R2019b

質問済み:

Jan
2019 年 12 月 27 日

コメント済み:

2022 年 12 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by