Open HelloEgg opened 4 years ago
You are getting the 3D joints correct. however, looks like there is a a plotting issue. the shoulders look widened because the image is sheered and the aspect ratio is not kept. try playing with a custom 2d joint plotter. leave your code snippet here if you needed help
@nghorbani Hi Nima~
Thanks for sharing the codebase first!!
I encountered a similar issue today: I wanted to retarget a pose from SMPLH to a humanoid robot. Figure 1 shows the result after rendering the data with this human_body_prior
. I used the joint information from jtr
mentioned above as the joint radians of the robot simulation, resulting in Figure 2. However, I noticed that there are still some differences in the poses between Figure 2 and Figure 1, such as the different elbow angles.
I’ve spent a lot of time trying to address this issue. Could you please help me with it? I would really appreciate it!
Figure 1:
Figure 2:
used the joint information from
jtr
mentioned above as the joint radians
Hi, I'm also trying to retarget SMPL to humanoid. Could you please explain how to use "the joint information from jtr mentioned above as the joint radians"? I guess that jtr is the global position of each joint? Thanks a lot.
Hi.
I am trying to extract joint positions from body model. I drew the mesh image and it looked fine. However, getting Jtr return values did not return correct result.
The code that I used is as follows :
`def render_smpl_params(bm, pose_body, pose_hand = None, trans=None, betas=None, root_orient=None): ''' :param bm: pytorch body model with batch_size 1 :param pose_body: Nx21x3 :param trans: Nx3 :param betas: Nxnum_betas :return: N x 400 x 400 x 3 '''
I used jtr from
bm.forward().Jtr
to extract key point. The mesh I got is as followsAnd when I plotted joint position from jtr value, I got this
Where do you think did I got wrong..? How can I directly extract joint positions from body model? I mean, the shoulder looks too large, the legs aren't supposed to be leaning backwards...