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

HUMANML3D preprocess #15

Open
ZenGengChin opened this issue Jul 7, 2023 · 0 comments
Open

HUMANML3D preprocess #15

ZenGengChin opened this issue Jul 7, 2023 · 0 comments

Comments

@ZenGengChin
Copy link

ZenGengChin commented Jul 7, 2023

Hi, just noticed that your code for humanml3d process goes like:

NUM_JOINTS = 24
# and 
poses_adjust = motiton_meta["poses"][::fps_adjust_factor]
poses_target = poses_adjust[start_frame:end_frame]
axis_angles = poses_target.reshape(len(poses_target), -1, 3)[
                        :, :NUM_JOINTS, :
                    ] 

This code suggests that you just use the first 24 joint axis angles, but actually, in AMASS, the order of joints is something like:

[22 of body joints]
[left hands indices + right hands indices].
Your order should be something like [:, [0:23]+[37], :] instead of [:, :24,:]

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