vchoutas / smplify-x

Expressive Body Capture: 3D Hands, Face, and Body from a Single Image

Home Page:https://smpl-x.is.tue.mpg.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot import name 'load_vposer' from 'human_body_prior.tools.model_loader'

piorecki-simon opened this issue · comments

Executing...

python3 smplifyx/main.py --config cfg_files/fit_smpl.yaml --data_folder ~/dev/smpl_test_data --output_folder ~/dev/smpl_test_data --visualize="False" --model_folder ~/dev/models/SMPL_python_v.1.1.0/smpl/models --vposer_ckpt ~/dev/models/vposer_v1_0

...results in: cannot import name 'load_vposer' from 'human_body_prior.tools.model_loader' error.

Function 'load_vposer' from 'human_body_prior.tools.model_loader' does not seem to exist anymore? Is there now another way of getting 3d joints coordinates from a given image?

download zip from https://github.com/nghorbani/human_body_prior/tree/cvpr19?tab=readme-ov-file , then put the folder human_body_prior in venv. It is good for me. BTW, where can I get ~/dev/models/SMPL_python_v.1.1.0/smpl/models and ~/dev/models/vposer_v1_0

Thank you, I just didnt realize that I had to use a different branch. You can get the models from their website:
SMPL-X and VPoser: https://smpl-x.is.tue.mpg.de/download.php
SMPL: https://smpl.is.tue.mpg.de/download.php

Thank you, I just didnt realize that I had to use a different branch. You can get the models from their website: SMPL-X and VPoser: https://smpl-x.is.tue.mpg.de/download.php SMPL: https://smpl.is.tue.mpg.de/download.php

Hi. After I try to download the branch of vposer, I find that load_vposer isn't existing. Also, the argument 'model_code' is quite confusing while it is neccesary for this project.
Have you solved that? I am looking forward to your reply!

Thank you, I just didnt realize that I had to use a different branch. You can get the models from their website: SMPL-X and VPoser: https://smpl-x.is.tue.mpg.de/download.php SMPL: https://smpl.is.tue.mpg.de/download.php

Hi. After I try to download the branch of vposer, I find that load_vposer isn't existing. Also, the argument 'model_code' is quite confusing while it is neccesary for this project. Have you solved that? I am looking forward to your reply!

You will probably just cloned the git repo and will be in master branch currently. Just checkout the cvpr19 branch. What do you mean with the model_code argument?