-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: mat1 dim 1 must match mat2 dim 0 #4
Comments
Hi, |
Thanks a lot for your work. And when I try to run the latest test code you provided, this error also occurs.
|
Hi, I replaced the repo with the latest files. But, I am getting this error: Traceback (most recent call last): 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 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
The text was updated successfully, but these errors were encountered: