vchoutas / smplify-x

Expressive Body Capture: 3D Hands, Face, and Body from a Single Image
https://smpl-x.is.tue.mpg.de/
Other
1.69k stars 330 forks source link

AttributeError: 'Struct' object has no attribute 'hands_componentsl' #178

Open GDani31 opened 2 years ago

GDani31 commented 2 years ago

I tried to run this Projec on a Win10 machine but it tells me AttributeError: 'Struct' object has no attribute 'hands_componentsl' what does this mean? I also tried to run it with the smpl config but then it tells me FileNotFoundError: [Errno 2] No such file or directory: 'input\keypoints\CkYixnnWEAA5ReW_keypoints.json'

GDani31 commented 2 years ago

EDIT: i now got it, the problem was, i had to run openpose first with the correct setup and then run the smplify-x script. I also installed the wrong branch of this project. but now i have another problem: if i try to run the smplx config i get nothing as output. I tried to run it with a similar setup as https://colab.research.google.com/github/sergeyprokudin/smplpix/blob/main/colab_notebooks/Convert_Video_to_SMPLpix_Dataset.ipynb#scrollTo=ODeGAyGrrIov

lnykyks commented 4 months ago

it seems that the smplh pkl need to merge mano model, see this link: https://github.com/vchoutas/smplx/blob/main/tools/README.md