From 273f2a6974385cc1374ede922df7a063438cd67d Mon Sep 17 00:00:00 2001 From: Wei-Chen-hub <1259566226@qq.com> Date: Thu, 2 Nov 2023 15:01:43 +0800 Subject: [PATCH] fix --- mmhuman3d/data/data_converters/agora.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mmhuman3d/data/data_converters/agora.py b/mmhuman3d/data/data_converters/agora.py index 2347dd39..835caee6 100644 --- a/mmhuman3d/data/data_converters/agora.py +++ b/mmhuman3d/data/data_converters/agora.py @@ -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():