eth-ait / aitviewer

A set of tools to visualize and interact with sequences of 3D data.
MIT License
581 stars 52 forks source link

Questions about using SMPL-H #34

Closed huzijun1996 closed 1 year ago

huzijun1996 commented 1 year ago

I have downloaded the file (.pkl) from the website (https://mano.is.tue.mpg.de/download.php) as requested by Supported Body Models. and placed it in the correct location (... /data/smplx_models/smplh/SMPLH_FEMALE.pkl).However, when running load_AMASS.py in the examples folder, it still reports an error (I get the same error when running the official Quickstart provided): Traceback (most recent call last): File "/home/xxx/Download/amass-bml/aitviewer-main/examples/load_AMASS.py", line 30, in seq_amass = SMPLSequence.from_amass( File "/home/xxx/anaconda3/envs/ait/lib/python3.9/site-packages/aitviewer/renderables/smpl.py", line 220, in from_amass smpl_layer = SMPLLayer(model_type="smplh", gender=body_data["gender"].item(), device=C.device) File "/home/xxx/anaconda3/envs/ait/lib/python3.9/site-packages/aitviewer/models/smpl.py", line 63, in init self.bm = smplx.create( File "/home/xxx/anaconda3/envs/ait/lib/python3.9/site-packages/smplx/body_models.py", line 2402, in create return SMPLH(model_path, **kwargs) File "/home/xxx/anaconda3/envs/ait/lib/python3.9/site-packages/smplx/body_models.py", line 601, in init left_hand_components = data_struct.hands_componentsl[:num_pca_comps] AttributeError: 'Struct' object has no attribute 'hands_componentsl'

ramenguy99 commented 1 year ago

SMPL-H models require an additional step after download to merge the MANO and SMPL-H parameters and create the needed SMPLH_FEMALE.pkl file. This is described in the smplx package repository here.

huzijun1996 commented 1 year ago

Thank you for your help, this problem has been solved.

------------------ 原始邮件 ------------------ 发件人: "Dario @.>; 发送时间: 2023年6月20日(星期二) 凌晨0:31 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [eth-ait/aitviewer] Questions about using SMPL-H (Issue #34)

SMPL-H models require an additional step after download to merge the MANO and SMPL-H parameters and create the needed SMPLH_FEMALE.pkl file. This is described in the smplx package repository here.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>