xbpeng / DeepMimic

Motion imitation with deep reinforcement learning.
https://xbpeng.github.io/projects/DeepMimic/index.html
MIT License
2.27k stars 485 forks source link

About conversion from SMPLX to humanoid format #200

Open Fishman-York opened 1 month ago

Fishman-York commented 1 month ago

Hi, I have a dataset that uses SMPLX format. What I've done so far is: root_position = transl (3) root_orientation = global_orient (1,3,3) And the other joints I get from the body pose field (21, 3, 3). Chest = body_pose[8] Neck = body_pose[11] Right Hip = body_pose[1] Right knee = body_pose[4] Right ankle = body_pose[7] Right shoulder = body_pose[16] Right Elbow = body_pose[18] Left Hip = body_pose[0] Left Knee = body_pose[3] Left Ankle = body_pose[6] Left Shoulder = body_pose[15] Left Elbow =body_pose[17] I converted all the joints to quaternions, except the revolute joints which i converted to axis angles and then took the dimension with the biggest change. However, I can't seem to get the rotations to work right. I was wondering if I was doing anything wrong?