Closed daixiangzi closed 1 year ago
train cmd: ./scripts/train_smpl_cam.sh test_3dpw configs/256x192_adam_lr1e-3-res34_smpl_3d_cam_2x_mix_w_pw3d.yaml
second problem when ./scripts/validate_smpl_cam.sh ./configs/256x192_adam_lr1e-3-res34_smpl_3d_cam_2x_mix_w_pw3d.yaml ./exp/mix2_smpl_cam/256x192_adam_lr1e-3-res34_smpl_3d_cam_2x_mix_w_pw3d.yaml-test_3dpw/model_1.pth: HybrIK/hybrik/models/layers/smpl/lbs.py", line 258, in lbs pose_offsets = torch.matmul(pose_feature, posedirs) RuntimeError: mat1 dim 1 must match mat2 dim 0
hello,i meet a same question.i send a qq mail for you.
I have solved above problems;
@daixiangzi Hi, can you elaborate on how to solve this problem? I found that pose_feature, posedirs can not be multiplied.
I think i found the problem. The gt pose is already rotation matrix,so we did not do batch_rodrigues(). Just reshape the input is OK. And it should be better to add a judgment, whether the input is the representation of the axis angle.
return torch._C._nn.linear(input, weight, bias) RuntimeError: mat1 dim 1 must match mat2 dim 0