EricGuo5513 / text-to-motion

Official implementation for "Generating Diverse and Natural 3D Human Motions from Texts (CVPR2022)."
MIT License
486 stars 40 forks source link

Output of model #31

Closed yufu-liu closed 1 year ago

yufu-liu commented 1 year ago

Hi, I have tried this project and generated skeleton animations!

However, I also want to visualize it in SMPL mesh, so I am just curious about if it is possible to get 22 joints' rotations and root joint's translation from the output of the model.

I found the output of model are below. If I wrongly understand, correct me please:

root rotation velocity (Y), 1 root velocity (X and Z), 2 root position (Y), 1 21 joints' local position, 63 21 joints' local rotation, 126 22 joints' local velocity, 66 foot contact, 4

(#frame, 263)

yufu-liu commented 1 year ago

After finding joints2smpl and transfering the 263-dimension vector to positions of 22 joints, I can visualize it into mesh.