Expose Solver::Restore() as public for restoring without solving #2037

Merged
merged 1 commit into from Mar 7, 2015

Conversation

Projects
None yet
1 participant
Owner

shelhamer commented Mar 5, 2015

The solver can restore its state without entering the Solve() loop. This is exposed for C++ and Python. One can now restore a solver and step instead of resuming and marching on until the end.

Sidenote: Restore() could be overloaded to take SolverState instead of a file.

@shelhamer shelhamer expose Solver::Restore() as public and Solver.restore() in pycaffe
The solver can restore its state without entering the Solve() loop.
c0219cc

@shelhamer shelhamer added a commit that referenced this pull request Mar 7, 2015

@shelhamer shelhamer Merge pull request #2037 from shelhamer/expose-solver-restore
Expose Solver::Restore() as public for restoring without solving
4d0103b

@shelhamer shelhamer merged commit 4d0103b into BVLC:master Mar 7, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

shelhamer deleted the shelhamer:expose-solver-restore branch Mar 7, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment