MATLAB: Neuronal Net training

Deep Learning Toolboxtrain neuronal net

I've been training a network. how can I get the output all 20 epochs?
I want to show the progress of teach an image.

Best Answer

Which network?
Which outputs?
help train
doc train
Look at the explanation of what outputs are available at the END of training; e.g.,
[net tr Y E Pf Af ] = train(net,p,t,Pi,Ai );
The only information on what happened DURING training is in the structure tr and the command line output. Try
net.trainParam.show= 1;
If you want to obtain a complete history of [net ... Ai], try removing the semicolon.
WARNING: If you try to obtain a history by looping over a succession of 1 epoch training calls, you can get a valid result. HOWEVER, you will not get the same result as that from a single multi-epoch call.
Hope this helps.
Greg