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
GradientProblemSolver::Options does not support update_state_every_iteration #246
Comments
@bchretien thanks for reporting this, yes this is a bug in gradientproblemsolver, even though the underlying machinery actually supports this. You can either submit a patch or I can look into it soonish. |
@sandwichmaker thanks for the quick reply, I probably won't have the time to work on a patch during the next few weeks, but I'll keep you posted if that changes. |
I think I solved the issue (cf. this). I'll forward this to Gerrit when I find the time. |
@bchretien that CL looks pretty good. Please do consider sending it to gerrit, I will review as soon as I can. |
@bchretien gentle ping :) |
@bchretien another gentle ping. Ran into this issue this week. It would be really great to see per iteration updates with the gradient solver. |
@bchretien Would happy review your patch in Gerrit; can you please push it over there so we can get it submitted? Due to the CLA issue we can't accept GitHub pull requests (and we want to keep our review history centralized). |
Is there a quick fix to see my solution per every iteration? This is needed for me :).... Best, |
https://ceres-solver-review.googlesource.com/c/ceres-solver/+/11780 is out for review. |
I implemented the changes. What am I supposed to see? I do not see any changes in the stdout. I set the Best, |
While implementing a callback for
GradientProblemSolver
, I realized thatupdate_state_every_iteration
is not supported for that kind of solver. Yet,GradientProblemSolver::Options::callbacks
's documentation hints at the contrary (here):Are there any plans to support this option, or am I missing something? Otherwise, the documentation should probably be updated. Also,
update_state_every_variable
is referenced, but I'm assuming this is a typo/legacy name forupdate_state_every_iteration
(it is also present in some other parts of the documentation).This was tested with Ceres 1.12.0.
The text was updated successfully, but these errors were encountered: