Getting the gradients of joint targets using the XPBD integrator #146
Unanswered
Manchewable
asked this question in
Q&A
Replies: 1 comment
-
Hi @Manchewable, We are currently in the process of improving the differentiability of the XPBD integrator. Differentiating w.r.t. joint targets will be possible in a future version. For now, you could try to ensure that you allocate a new state for every substep of the trajectory that is rolled out (so the states are not overwritten but instead |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm wondering whether it's possible to compute the gradients w.r.t.
model.joint_target
using the XPBD integrator.Whenever I tried to get its gradients via
tape.backward()
, I'm getting a zero gradient in return.Appreciate to any insights!
Beta Was this translation helpful? Give feedback.
All reactions