EricGuo5513 / momask-codes

Official implementation of "MoMask: Generative Masked Modeling of 3D Human Motions (CVPR2024)"
https://ericguo5513.github.io/momask/
MIT License
808 stars 70 forks source link

HumanML3D and MoMask- Data I/O query #73

Closed zybermonk closed 1 month ago

zybermonk commented 1 month ago

Hello, Thank you for great works in the motion-language field.

I would like to get some clarity, in general when momask or any transformer model, while using HumanML3D dataset;

Please correct me if I am wrong, and kindly help me understand if it is the new_jointsor the new_joint_vecs that go into the model and come out along with their associated texts.

Thank you.

Murrol commented 1 month ago

Hi, thanks for you interests.

new_joint_vecs are motion feature vectors used as the model I/O and for better learning. Yes, the motion with traditional representation is recovered from this motion feature vector.

new_joints are 3D motion recovered from new_joint_vecs to examine the feature extraction and recovering functions during HumanML3D preparation.

zybermonk commented 1 month ago

Hi @Murrol , I would like to quickly follow up with some additional queries. Firstly thanks for the support.

I appreciate your assistance and thank you again in advance :)

Murrol commented 1 month ago
  1. Yes, it's a y-up right-handed coordinate system. In SMPL pose parameter, the rotation representation is the Axis-Angle but not Euler Angle. You can convert the axis-angle to the Euler angle in your own rotation convention.
  2. I'm not sure if we can extract the joint rotation information directly from the 263 vectors. For how to obtain rotations by optimization methods, you can refer to this answer https://github.com/EricGuo5513/momask-codes/issues/70#issuecomment-2316415620
zybermonk commented 1 month ago

One final question, so, the data (frames, joints, coordinates) is not in relative representation to its parent? So far, I have been assuming that's the case. Please confirm if it is

Thank you for the answers. I will try the suggested method to extract angles.

Murrol commented 1 month ago

they are global positions