shreyashampali / HOnnotate

CVPR2020. HOnnotate: A method for 3D Annotation of Hand and Object Poses
https://www.tugraz.at/index.php?id=40231
GNU General Public License v3.0
166 stars 15 forks source link

joints index out of range in lift2DJoints #18

Closed dcdsf321 closed 2 years ago

dcdsf321 commented 2 years ago

Hi, when I run python handPoseMultiframeInit.py --seq 'test I got index out of range on projPts = utilsEval.chProjectPoints(m.J_transformed, camMat, False)[jointsMap]

I check your code and find out that you loaded the mano model, but the m.J_trandformed only has 16 joints as in the mano model, while the jointsMap has 21 joints' index

I wonder how to get 21 joints' information in your code using mano model for the loss calculation

Thanks

dcdsf321 commented 2 years ago

problem solved by running setup_mano.py