smplify-x
smplify-x copied to clipboard
RuntimeError: size of dimension does not match previous size, operand 1, dim 2
Got this bug
File "/home/minjin/anaconda3/envs/smpl/lib/python3.7/site-packages/smplx/lbs.py", line 266, in blend_shapes blend_shape = torch.einsum('bl,mkl->bmk', [betas, shape_disps]) File "/home/minjin/anaconda3/envs/smpl/lib/python3.7/site-packages/torch/functional.py", line 211, in einsum return torch._C._VariableFunctions.einsum(equation, operands) RuntimeError: size of dimension does not match previous size, operand 1, dim 2
I printed the shapes of betas and shape_disps and they are torch.Size([1, 20]) torch.Size([10475, 3, 400]). What could cause this problem?
Hello @mchong6 . Have you managed to overcome this problem?
I also have this problem,do you have some suggests?
In my case, I had this problem due to using the wrong smpl model. I just replaced them with smpl_v1.0.0 and everything works fine.
yes!my problem was solved after I changed the smpl model. (the right one is smpl_v1.0.0)
@WangXuan2401 Hi, how about the version of smpl-x model?