vchoutas / smplx

SMPL-X
https://smpl-x.is.tue.mpg.de/
Other
1.73k stars 301 forks source link

SMPL to SMPLX output raising errors #120

Open Alex-web100 opened 2 years ago

Alex-web100 commented 2 years ago

After running the code for SMPL to SMPLX conversion on a dataset, I attempted to use the following line of code code to generate a smplx model from the converted files: model = smplx.create(model_folder, model_type='smplx', gender=self.gender)

However, it results in the following error: RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 3 but got size 1 for tensor number 2 in the list.

I am unsure what could possibly be causing this, although I see that it's an issue with the size of 'body_pose' in the converted file.

Dipankar1997161 commented 8 months ago

@Alex-web100, were you able to solve this?? if so, could you tell me how did you create the obj files for SMPL??

I also want to convert smpl to smplx