In some versions of MATLAB, if a neural network is trained normally with the Training Tool GUI, the training is stopped or cancelled by the user, and then the user tries to train with command-line only output, training stops at epoch 0. I have forwarded the details of this issue to our development team so that they can investigate it further. To correct the behavior, please use one of the following workarounds:
1. Train any neural network through the GUI and allow the training to complete. This can be a simple example such as the one given in the documentation for "feedforwardnet":
https://www.mathworks.com/help/nnet/ref/feedforwardnet.html
After the training has completed, you should be able to train networks with the GUI disabled.
2. Restart MATLAB.
5 Comments
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/364193-command-line-neural-network-training-stopping-after-0-iterations#comment_500299
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/364193-command-line-neural-network-training-stopping-after-0-iterations#comment_500299
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/364193-command-line-neural-network-training-stopping-after-0-iterations#comment_500461
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/364193-command-line-neural-network-training-stopping-after-0-iterations#comment_500461
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/364193-command-line-neural-network-training-stopping-after-0-iterations#comment_500644
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/364193-command-line-neural-network-training-stopping-after-0-iterations#comment_500644
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/364193-command-line-neural-network-training-stopping-after-0-iterations#comment_501413
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/364193-command-line-neural-network-training-stopping-after-0-iterations#comment_501413
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/364193-command-line-neural-network-training-stopping-after-0-iterations#comment_687154
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/364193-command-line-neural-network-training-stopping-after-0-iterations#comment_687154
Sign in to comment.