vchoutas / smplx

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

TensorOutput has no 'v_shaped' #145

Open YuxuanSnow opened 1 year ago

YuxuanSnow commented 1 year ago

Hi,

i met an issue during SMPLX forward passing: got an unexpected keyword argument 'v_shaped' here: https://github.com/vchoutas/smplx/blob/main/smplx/body_models.py#L1289.

The reason is that the attribute 'v_shaped' is not defined in the class 'TensorOutput'. Replace the 'TensorOutput' with 'SMPLXOutput' at line 1139 and 1289 resolves the issue.

JaviLaplaza commented 1 year ago

I experienced the same problem. Changing the code from body_models.py as suggested fixed the issue.

dongyang-mt commented 1 year ago

change TensorOutput to SMPLXOutput fixed