Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
piorecki-simon opened this issue May 14, 2024 · 4 comments

Comments

@piorecki-simon
Copy link

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?

@tengshaofeng
Copy link

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

@piorecki-simon
Copy link
Author

piorecki-simon commented May 22, 2024

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

@shawnFuu
Copy link

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!

@piorecki-simon
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants