Open anjugopinath opened 3 years ago
Hi, I updated the forward kinematics file and the model file with the last versions that I'm able to run at my PC. Could you try it again? I think it's a matter of tensor shapes in the matmul operation. So, if it fails, could you look at the tensor shapes of MANO.th_posedirs and th_pose_map?
Hi, I updated the forward kinematics file and the model file with the last versions that I'm able to run at my PC. Could you try it again? I think it's a matter of tensor shapes in the matmul operation. So, if it fails, could you look at the tensor shapes of MANO.th_posedirs and th_pose_map?
Thanks a lot for your work. And when I try to run the latest test code you provided, this error also occurs. And the tensor shapes you mentioned are as follows.
Hi, I updated the forward kinematics file and the model file with the last versions that I'm able to run at my PC. Could you try it again? I think it's a matter of tensor shapes in the matmul operation. So, if it fails, could you look at the tensor shapes of MANO.th_posedirs and th_pose_map?
Hi,
I replaced the repo with the latest files. But, I am getting this error:
Traceback (most recent call last):
File "test.py", line 443, in
So, I printed the shape
print( MANO.th_posedirs.shape,th_pose_map.shape,th_pose_map.transpose(0, 1).shape)
This is the result I got torch.Size([778, 3, 135]) torch.Size([51, 144]) torch.Size([144, 51])
Could you tell me how to fix it please?
Hi, I meet the same problem. Did you fix it?
Solved by issue #3
Hi, I also encounter the same problem, how to solve it?
Hi, I meet the same problem, can you help me?
I solved this error. I found MANO.th_posedirs.shape is [778, 3, 135] and th_pose_map.shape is [51,144]. If th_pose_map.shape become [51,135], then the malmul is right. So I refered the hassony/manopth code, and found there are some different details in function manolayer.forward() , hassony'manolayer.forward() did 'th_pose_map = th_pose_map[:, 9:]',make th_pose_map.shape [1,144] become [1,135]. Now I can run the test.py. But I still don't get the right result until now.
On running the command, I am getting the below error:
File "/home/anju/CodeSpace/GanHand/utils/forward_kinematics_3dof.py", line 297, in get_hand MANO.th_posedirs, th_pose_map.transpose(0, 1)).permute(2, 0, 1) RuntimeError: mat1 dim 1 must match mat2 dim 0