eth-ait / aitviewer

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

AssertionError: Path ../data/smplx_models does not exist! #32

Closed huzijun1996 closed 1 year ago

huzijun1996 commented 1 year ago

I have already pip install smplx [all], pip install aitviewer, but both Python 3.8 and Python 3.9 are trying 'Quickstart' from: https://eth-ait.github.io/aitviewer/#quickstart reporting an error: Traceback (most recent call last): File "/home/xxx/test/test/ait.py", line 6, in v.scene.add(SMPLSequence.t_pose()) File "/home/xxx/anaconda3/envs/ait/lib/python3.9/site-packages/aitviewer/renderables/smpl.py", line 316, in t_pose smpl_layer = SMPLLayer(model_type="smplh", gender="neutral") 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 2404, in create return SMPLX(model_path, **kwargs) File "/home/xxx/anaconda3/envs/ait/lib/python3.9/site-packages/smplx/body_models.py", line 969, in init assert osp.exists(smplx_path), 'Path {} does not exist!'.format( AssertionError: Path ../data/smplx_models does not exist!

I also encountered almost the same issue when running the 'load_DIP_IMU. py' file in the examples folder. Is there a way for me to add SMPL and SMPLX .pkl files to the program? Could you give me an example?

kaufManu commented 1 year ago

Hi,

In order to visualize SMPL sequences, you need to download the SMPL models. Please refer to the documentation for more instructions and this related issue.

huzijun1996 commented 1 year ago

Thank you very much for your help. I have successfully resolved this issue.