loss value from caffemodel or solverstate

111 views
Skip to first unread message

Ali MassahKiani

unread,
Apr 3, 2017, 8:20:26 AM4/3/17
to Caffe Users
how can i get loss value from caffemodel and solverstate file?
i have solver.prototxt that  that snapshot option is  (snapshot:  5000), now after training i have several caffemodel that i want know loss value of each.

Alex Orloff

unread,
Apr 4, 2017, 5:11:46 AM4/4/17
to Caffe Users
no

Przemek D

unread,
Apr 4, 2017, 5:40:43 AM4/4/17
to Caffe Users
Loss value depends on data you put through the network and its current state (i.e. weights). Caffemodel & solverstate only contain information on weights (plus gradients, which do not matter here), therefore you have no way of reconstructing the loss.
You can check your train log (if you saved it) for intermediate loss values, but other than that you have to evaluate it manually (load the network in TRAIN phase, propagate an image forward and check the loss).
I suppose Alex meant just that in his quality post ;)
Reply all
Reply to author
Forward
0 new messages