Skip to content
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

Change numpy ode_solve to equivalent from torchdiffeq #1

Open
magnusross opened this issue Jul 13, 2020 · 1 comment
Open

Change numpy ode_solve to equivalent from torchdiffeq #1

magnusross opened this issue Jul 13, 2020 · 1 comment

Comments

@magnusross
Copy link
Owner

Everything should work better/faster if things don't have to be converted form torch tensors to numpy arrays when solving forward with NN model.

@magnusross
Copy link
Owner Author

This worked well for the method using the analytic Lagrangian and then autograd, but was far slower for solving using the NN methods, I think this because the default solver for torchdiffeq uses lots of memory, so maybe need to use adjoint solve, not sure about this so kept original methods for NN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant