Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei-Chen-hub committed Nov 2, 2023
1 parent 47010c7 commit 273f2a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mmhuman3d/data/data_converters/agora.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ def convert_by_mode(self, dataset_path: str, out_path: str,

if smplx_param['betas'].shape[1] != 10:
smplx_param['betas_extra'] = smplx_param['betas'][:, 10:]
smplx_param['betas'] = smplx_param['betas_neutral'][:, :10]
smplx_param['betas'] = smplx_param['betas'][:, :10]
smplx_param['betas_neutral'] = smplx_param['betas_neutral'][:, :10]
else:
smplx_param['betas_extra'] = np.zeros([1, 1])
for key in self.smplx_shape.keys():
Expand Down

0 comments on commit 273f2a6

Please sign in to comment.