train error for smplx
Opened this issue · 1 comments
Dear author,
Thanks for your project, I want to train with smplx with smplx parameters estimated by pymafx, then I met below erros.
***** leye_pose ***** torch.Size([2, 3]) [26/09 11:15:16]
***** reye_pose ***** torch.Size([2, 0]) [26/09 11:15:16]
***** left_hand_pose ***** torch.Size([2, 0]) [26/09 11:15:16]
***** right_hand_pose ***** torch.Size([2, 0]) [26/09 11:15:16]
Traceback (most recent call last):
File "E:\workspace\GaussianAvatar-main\train.py", line 180, in
train(lp.extract(args), np.extract(args), op.extract(args), args.save_epochs, args.checkpoint_epochs)
File "E:\workspace\GaussianAvatar-main\train.py", line 70, in train
image, points, offset_loss, geo_loss, scale_loss = avatarmodel.train_stage1(batch_data, first_iter)
File "E:\workspace\GaussianAvatar-main\model\avatar_model.py", line 284, in train_stage1
live_smpl = self.smpl_model.forward(betas = self.betas,
File "E:\workspace\GaussianAvatar-main\submodules\smplx\body_models.py", line 1220, in forward
full_pose = torch.cat([global_orient.reshape(-1, 1, 3),
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 2 but got size 0 for tensor number 4 in the list.
Could you give me some hints for this issues why the left hand pose is empty.
Hi, so sorry for the late reply.
I guess there might be an issue with the parameters you estimated from PyMAF.