Expose Solver::Snapshot to pycaffe#3082
Conversation
- Solver::Snapshot is made public - It is also added as `snapshot` to pycaffe Addressing BVLC#3077
|
Looks good -- I wonder if we could have a basic test though? Exposing |
|
Sorry for delay on this. I added a test that runs |
Expose `Solver::Snapshot` to pycaffe
|
Thanks for the pycaffe extension @gustavla! |
|
Is there also a way to load a snapshot into the solver with pycaffe? |
|
@mpkuse Just use the |
|
Is there a way to set snapshot file name from inside a Python program, or is it necessary to have the name inside the solver prototxt from the beginning? Sorry if I ask something obvious, but there is no documentation, apart from this page and http://caffe.berkeleyvision.org/tutorial/interfaces.html. |
|
@VasLem |
|
@naibaf7 :The current snapshot seems to have a problem, or at least I cant find a way around it. However, at this point , Won't capture the best model, it captures the next immediate one instead. |
This addresses #3077, making it possible to manually save a snapshot (caffemodel+solverstate) from Python.
On a related note, does it also make sense to expose
Solver::TestAll, so that it's possible to manually instigate a test run through Python?