필터 지우기
필터 지우기

Training-progress Plots not supported for compiled EXE?

조회 수: 4 (최근 30일)
Jan
Jan 2019년 12월 27일
댓글: sweta sharma 2022년 12월 28일
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일
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개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by