HOW TO STOP THE NNTRAINTOOL WINDOW FROM POPPING UP WHENEVER I RUN TRAINAUTOENCODER

26 ビュー (過去 30 日間)
Aaron McKinney
Aaron McKinney 2016 年 8 月 30 日
回答済み: David Pippin 2020 年 10 月 23 日
When I run "trainAutoencoder" in the Neural Net Toolbox, an nntraintool window automatically pops up, and also some information about the autoencoder automatically appears in the command window. I want to suppress both of these outputs. How? More specifically, this occurs when I type in "autoenc=trainAutoencoder(X,hiddensize)". I've tried putting in lines immediately above this such as "autoenc.trainParam.showWindow = false; autoenc.trainParam.showCommandLine = false; but haven't had any success. Any assistance would be appreciated. Thank you.

回答 (2 件)

Hamideh kazemi
Hamideh kazemi 2017 年 11 月 1 日
write the (net.trainParam.showWindow = false;) before the training command as follow:
net.trainParam.showWindow = false;
net = train(net, input, target);

David Pippin
David Pippin 2020 年 10 月 23 日
It took me a while, but for R2020b use 'none' as your option for plots. Nothing else worked for me.
options = trainingOptions('adam', ...
'MaxEpochs',400, ...
'GradientThreshold',1, ...
'InitialLearnRate',0.0007, ...
'LearnRateSchedule','piecewise', ...
'LearnRateDropPeriod',500, ...
'LearnRateDropFactor',0.2, ...
'Verbose',1, ...
'Plots','none');

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by