-
Notifications
You must be signed in to change notification settings - Fork 129
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
Add Differentiable CEM solver #329
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like a nice initial version! I left a few minor comments inline to the core parts of the code and will review the notebooks in some more detail soon. And how are the tests looking?
@luisenp @mhmukadam . Can you also have a look at this? I think it's ready to be merged from my side, a few other things can be done but that can be done in later PRs. |
…ith learnable error
…in outer loop, optim itrs=50
This reverts commit 609110c.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Left a bunch of minor comments that should be easy to address. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing these. Left a couple of follow up questions.
…or lin_solver_cls, moved EndItercallback to nonlinearoptmizer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the changes, have a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Left a couple of comments of things we can move to a separate PR. I think we could also rename some of the args/kwargs, but I'm OK with merging as is. I can take a look at this after we have a unit test in place. Thanks for your hard work on this!
Motivation and Context
This adds a differential CEM solver to the optimizers class of Theseus. Can be used to solve control problems.
Based on https://github.com/facebookresearch/dcem
How Has This Been Tested
Passed the unit tests given.
Types of changes
Checklist
ToDos
theseus_layer_test
provided