smplx
smplx copied to clipboard
Body_Pose shape in output pkl file of smpl+h to smplx
After passing smpl+h mesh into the transfer_model module with the smplh2smplx config file, I got a pkl output file that has body_pose tensor with shape [1,21,3,3], which is very strange. Because the smplx addons's add pose function on blender require a body_shape tensor that is in the shape of [1,21,3] (other pose-like tensors faced the same issue with the fourth dimension size 3). Does anyone have any idea about the format and its meaning? Please give me some clue.
@KevinRoller hi! Did you find an answer?
Is it possible that in that instance 3x3 rotation matrices rather than axis-angle representations are used to describe the pose? Should be easy to figure out from the data; if that was the case, you can use any of the rotation matrix to axis angle functions to provide the alternative axis-angle representation of the data (e.g. Kornia: https://kornia.readthedocs.io/en/latest/geometry.conversions.html#kornia.geometry.conversions.rotation_matrix_to_angle_axis)