We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hamiltonian-Generative-Networks/utilities/integrator.py
Line 131 in 702d3ff
I think there is an issue with the leapfrog step. The current implementation updates q using:
p_next_half = p + dp_dt * (self.delta_t) / 2 q_next = q + p_next_half * self.delta_t
I think it should be changed to:
p_next_half = p + dp_dt * (self.delta_t) / 2 dq_dt, _ = self._get_grads(q, p_next_half, hnn) q_next = q + dq_dt * self.delta_t
The text was updated successfully, but these errors were encountered:
Thank you for the suggestion. Could you please create a PR with the suggested changes?
Sorry, something went wrong.
No branches or pull requests
Hamiltonian-Generative-Networks/utilities/integrator.py
Line 131 in 702d3ff
I think there is an issue with the leapfrog step. The current implementation updates q using:
I think it should be changed to:
The text was updated successfully, but these errors were encountered: