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

body-only feature representation #15

Open
Lin-Kayla opened this issue May 5, 2024 · 5 comments
Open

body-only feature representation #15

Lin-Kayla opened this issue May 5, 2024 · 5 comments

Comments

@Lin-Kayla
Copy link

Hi! What's the difference between the tomato representation and humanml3d of the body-only part? As I understand, from the supplementary, that the difference is there's rotation regularization, but I can't find it in your code.
And when will the pretrained TMR model be released?

@LinghaoChan
Copy link
Collaborator

Hi! What's the difference between the tomato representation and humanml3d of the body-only part? As I understand, from the supplementary, that the difference is there's rotation regularization, but I can't find it in your code. And when will the pretrained TMR model be released?

Yes, you are right. We plan to release it this week!

@Lin-Kayla
Copy link
Author

Thank you for your response. I'm excited to see the release of OpenTMA! But I still can't find rotation regularization. Could you tell me where it is?

@LinghaoChan
Copy link
Collaborator

Thank you for your response. I'm excited to see the release of OpenTMA! But I still can't find rotation regularization. Could you tell me where it is?

I am not in front of the computer. I remember that the tomato representation is to delete the rotation part. Isn't it?

@Lin-Kayla
Copy link
Author

By rotation part, does it mean Joint Rotation representation (rot_data) in Line 308 in motion representation.py? Isn't it still in the final representation?

line 308: rot_data = cont_6d_params[:, 1:].reshape(len(cont_6d_params), -1)
line 323: data = np.concatenate([data, rot_data[:-1]], axis=-1)

@shunlinlu
Copy link
Collaborator

By rotation part, does it mean Joint Rotation representation (rot_data) in Line 308 in motion representation.py? Isn't it still in the final representation?

line 308: rot_data = cont_6d_params[:, 1:].reshape(len(cont_6d_params), -1) line 323: data = np.concatenate([data, rot_data[:-1]], axis=-1)

After preprocessing using motion_representation.py, you will get all the information. While we discard the rotation as stated in the paper, leaving the vector dimension as 313. You may further process the representation, using

motion = np.concatenate((motion[..., :4+(njoints - 1) * 3], motion[..., 4+(njoints - 1) * 9: 4+(njoints - 1) * 9 + njoints*3]), axis=-1) # joints=52

Then, you can use the checkpoints we provide.

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

3 participants