필터 지우기
필터 지우기

Using trainNetwork on a remote headless machine

조회 수: 4 (최근 30일)
Hamza Yerlikaya
Hamza Yerlikaya 2019년 8월 16일
댓글: Hamza Yerlikaya 2019년 8월 16일
I am trying to use the deep learning toolbox to train a CNN network. Matlab is installed on a remote machine and I am accessing it via jupyter using the matlab supplied python bindings (Installed from /extern/engines/python). Following along [1]. I can succesfully train however the problem is calling trainNetwork works but since there is no gui when using jupyter or when running repl through ssh there is no way to see the progress. Is it possible to instead of a GUI the output can be printed to the repl so that jupyter can pick up the output and show the progress.
[1] https://www.mathworks.com/help/deeplearning/examples/create-simple-deep-learning-network-for-classification.html

채택된 답변

Steven Lord
Steven Lord 2019년 8월 16일
I haven't tried this but I think you want to use trainingOptions to tell MATLAB not to create the training progress Plots. If you want to see iterative output either set the Verbose and VerboseFrequency options (if the information MATLAB provides by default is sufficient) and/or specify an OutputFcn. The section about OutputFcn on that documentation page lists the information trainNetwork passes into the OutputFcn.
Remember you'll need to pass the options object trainingOptions returns into trainNetwork. I say this because in similar situations in the past I've seen people assume the options are set globally and express confusion when MATLAB "ignored" their options.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by