Closed pablovela5620 closed 3 years ago
rotation_matrix_to_angle_axis
requires 3x4 rotation matrix.
I see, I was using a newer version of kornia that changed that to a 3x3 so that was my confusion https://kornia.readthedocs.io/en/latest/geometry.conversions.html?highlight=rotation#kornia.geometry.conversions.angle_axis_to_rotation_matrix
I had a question regarding the following ParamRegressor part of the code.
First, why are you concatenating a zero tensor of shape (batch, 3, 1) to the 2nd axis? I see that you're converting from rotation matrix to angle axis, and you're using torch geometry (which is kornia now I think?). Is this just to convert the rotation matrix to a transformation matrix with 0 translation to be compatible with torch geometry?
It also looks like the reshape to 72 only works for SMPL estimation and it should be 48 (16*3) for mano?