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

Confusion with the joints #4

Open
andypinxinliu opened this issue Aug 28, 2024 · 0 comments
Open

Confusion with the joints #4

andypinxinliu opened this issue Aug 28, 2024 · 0 comments

Comments

@andypinxinliu
Copy link

I am confused with the smpl joints you have got and its difference with the smplh used in humanml3d. It seems like if you need to call TMR for evaluation, you did

x, y, z = T(motions)
motions = T(np.stack((x, z, -y), axis=0))

to convert the raw smpl joints in your smplh format to guo's format. May I know the reason why you need to have y to be negative? In the original guo's raw pose preprocessing, after getting the joints, his transform is

trans_matrix = np.array([[1.0, 0.0, 0.0],
                            [0.0, 0.0, 1.0],
                            [0.0, 1.0, 0.0]])

to let the joints multiply with this matrix, to make y and z axies to be switched. However, when you get the joints, not only did you switch two axies, but also make y to be negative, why is that?

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