-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?