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

How to get the position of SMPLX 3d joints by PyMAF-X #70

Closed
huanngzh opened this issue Oct 25, 2022 · 5 comments
Closed

How to get the position of SMPLX 3d joints by PyMAF-X #70

huanngzh opened this issue Oct 25, 2022 · 5 comments

Comments

@huanngzh
Copy link

Thank you very much for your amazing work. I would like to ask a question about how to get the position of SMPLX 3d joints by PyMAF-X.

The output of PyMAF-X includes smplx_verts, pose, betas, joints3d, smplx_params and so on. But I found that the joints3d is inconsistent with SMPLX joints definition. Maybe I can align it to SMPLX joints? I haven't got the idea.I tried to build smplx model from the smplx_params, but failed for some shape-invalid problems. For example, the shape of body pose is [24, 3, 3], but SMPLX expects [x, 21, 3]. (The NUM_BODY_JOINTS equals to 21).

So could you give me some advice to get SMPLX 3d joints? Looking forward to your reply.

@HongwenZhang
Copy link
Owner

@Hzz-xs
Copy link

Hzz-xs commented Dec 7, 2022

I see 49 joints3d and 19 joints2d. How can I find their corresponding body parts

@Travvy88
Copy link

@huanngzh Hi! Do you find solution for convert data to SMPLX format?

@huanngzh
Copy link
Author

@Travvy88 After I ran the dataset with pymafx, I found that the joints output of pymafx is the custom smpl+2hands+face. It is very time-consuming to run again from the beginning. So I use the smplx vertices in the output results and use the smplx joint regressor to obtain the joint data defined by smplx. But maybe the result will be a bit biased.

If you haven't run the code, you can modify the code accoding to @HongwenZhang 's reply:

Hi, you can modify to code to return SMPL or SMPLX joints: https://github.com/HongwenZhang/PyMAF/blob/smplx/models/smpl.py#L401 https://github.com/HongwenZhang/PyMAF/blob/smplx/models/smpl.py#L419

@z-z-zhao
Copy link

@Travvy88 After I ran the dataset with pymafx, I found that the joints output of pymafx is the custom smpl+2hands+face. It is very time-consuming to run again from the beginning. So I use the smplx vertices in the output results and use the smplx joint regressor to obtain the joint data defined by smplx. But maybe the result will be a bit biased.

If you haven't run the code, you can modify the code accoding to @HongwenZhang 's reply:

Hi, you can modify to code to return SMPL or SMPLX joints: https://github.com/HongwenZhang/PyMAF/blob/smplx/models/smpl.py#L401 https://github.com/HongwenZhang/PyMAF/blob/smplx/models/smpl.py#L419

@huanngzh How to use SMPLx joint regressor?I'm very much obliged to you.

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

5 participants