image-segmentation-keras icon indicating copy to clipboard operation
image-segmentation-keras copied to clipboard

training/validaiton loss/accuracy

Open Saeid-Sli opened this issue 4 years ago • 3 comments
trafficstars

How can I have the loss and accuracy of the training and validation phase across all epochs? I want to plot them versus epochs. Thanks

Saeid-Sli avatar Apr 27 '21 15:04 Saeid-Sli

I am trying to figure this out. Leaving a comment here, to increase my chances for success.

ujlaki15 avatar Oct 17 '21 19:10 ujlaki15

Found any solution?

varungupta31 avatar Apr 12 '22 17:04 varungupta31

Found it. Upon calling, model.fit you can store what the call return in a variable, and call .history on that object. Alternatively, you may dump it's contents in a pickle file, and then load it back to get a dictionary containing validation/train - loss + accuracy. Further, you may create a tensorboard callback, and visualize it in real-time, using tensorboard.

varungupta31 avatar Apr 18 '22 09:04 varungupta31