Generate training progress plot from saved trained model

Hi,
i would like to know is there any ways to generate back the training progress plot or verbose result from the saved trained model if i forgot screenshot/save both data manually?
the code that i use to save the trained model is as below.
testnet = trainNetwork(augimdsTrain,lgraph,options);
save testnet
training progress plot
bernose result

 Accepted Answer

[testnet,traininfo] = trainNetwork(augimdsTrain,lgraph,options);
save('data.mat','testnet','traininfo')
traininfo has the details you want, you can plot them later if you save it.

6 Comments

thanks @KSSV, may i know why the traininfo data for validation loss and validation accuracy are NaN at the middle?
Try changing the learning rate.......check the inputs......
noted @KSSV. Sorry to bother you, i got another question? is it possible to tabulate the same table as verbose table from traininfo instead of copy paste it manually?
You can convert the structre traininfo_ into a table using stuct2table.
Hi @KSSV,
sorry to distueb you again. i trying to regenerate verbose table as shown below from the traininfo that i saved earlier after finish running the model.
However, when i treid to tabulate the data from traininfo using struct2table i get the following table which is completely different from original verbose table that we got after finish training the model in matlab. And i notice the epoch column are also missing.
Appreciate if you could help on this. Thank You.

Sign in to comment.

More Answers (0)

Products

Release

R2021a

Asked:

Teo
on 26 Jul 2021

Commented:

Teo
on 10 Dec 2021

Community Treasure Hunt

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

Start Hunting!