Disable Spacebar Command for Neural Network

2 次查看(过去 30 天)
I'm currently running massive batch jobs involving the training of a neural network. While the network is running, I find that pressing the space bar causes the network to accept the current classification as the outcome of that training exercise, and move on to the next set of data. Needless to say, this makes doing any sort of work or coding while the network is running incredibly difficult. Is there any way I can disable this command/shortcut?
Thanks.

回答(1 个)

Mark Hudson Beale
You can turn off the training window (and therefore not have a stop button to accidentally trigger) with this command before calling TRAIN:
net.trainParam.showWindow = false;
If you would to enable command line feedback during training:
net.trainParam.showCommandLine = true;

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by