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

Translate other human model to amp human model #33

Open
xizaoqu opened this issue Mar 20, 2023 · 5 comments
Open

Translate other human model to amp human model #33

xizaoqu opened this issue Mar 20, 2023 · 5 comments

Comments

@xizaoqu
Copy link

xizaoqu commented Mar 20, 2023

Hi! If I want to translate other human models (such as smplx), how can I get the right T-pose and other parameters like rotation_to_target_skeleton for retargeting motion? By the way, have you tried a more complex human model? Will a different human model affect performance?

@xizaoqu
Copy link
Author

xizaoqu commented Mar 20, 2023

I've figured out the T-pose and rotation_to_target_skeleton. the T-pose is stored in the local_translation, the rotation_to_target_skeleton is [0.5, 0.5, 0.5, 0.5]. But how to compute the scale?

@xbpeng
Copy link
Collaborator

xbpeng commented Mar 21, 2023

the scale is to convert between different units. So formats use feet, inch, cm, or m. We use m for our format, so the scale parameter is for converting whatever unit the original format was to m.

@xizaoqu
Copy link
Author

xizaoqu commented Mar 21, 2023

the scale is to convert between different units. So formats use feet, inch, cm, or m. We use m for our format, so the scale parameter is for converting whatever unit the original format was to m.

Thanks for your reply. I don't know the unit of smplx from the SAMP dataset, so I directly set scale to 1 and it seems right. It actually controls the height of root joint. But another problem is the feet are not always on the floor. How to address this problem.
walk

@3-body
Copy link

3-body commented Aug 7, 2023

the "root_height_offset" of json file maybe what you wanted, or edit the z-axes of root link.

@ghy0626-design
Copy link

I've figured out the T-pose and rotation_to_target_skeleton. the T-pose is stored in the local_translation, the rotation_to_target_skeleton is [0.5, 0.5, 0.5, 0.5]. But how to compute the scale?

Hi, it looks like you have already solved this problem, can I ask how to obtain the T-pose?

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

4 participants