How to save the accuracy and loss of every batch in deep learning?

I want to save the accuracy and loss of every batch in deep learning.It appears in command window as result .

 Accepted Answer

Check out the "train" command you use. For example "doc train".
You can include the train record as your output such as:
[trainedNet,tr] = train(net,X,T,Xi,Ai,EW)
% tr -> train record which contains necessary/specified info

More Answers (0)

Categories

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

Asked:

on 11 Dec 2021

Answered:

on 11 Dec 2021

Community Treasure Hunt

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

Start Hunting!