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

What is the difference between rotmat and global_xform? #18

Open
xwg0508 opened this issue Oct 8, 2023 · 1 comment
Open

What is the difference between rotmat and global_xform? #18

xwg0508 opened this issue Oct 8, 2023 · 1 comment

Comments

@xwg0508
Copy link

xwg0508 commented Oct 8, 2023

Hi , thank you for your code ! I want to ask the difference between rotmat(or rot6d) and global_xform?
From the code in amass.py , i see the global_xform was gotten by the following code:
image
image
SO What is the difference between rot6d and global_xform?Why we get global_xform through rot6d
AND in training and applying , the global_xform was seen as rotmat, such as the following code:
image
SO WHAT is the global_xform?

@c-he
Copy link
Owner

c-he commented Oct 8, 2023

rot6d and rotmat are joint rotations relative to their parent joint, while global_xform is the rotation relative to the root joint. In training, I used global_xform since this global rotation representation performed better in our experiments. I should have given it a different name in the training code, so sorry for the confusion caused by my poor coding style :)

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

2 participants