Disable Spacebar Command for Neural Network

2 views (last 30 days)
Nathan L.
Nathan L. on 24 Jun 2011
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.

Answers (1)

Mark Hudson Beale
Mark Hudson Beale on 9 Sep 2011
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;

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!