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

\smplifyx\fit_single_frame.py", line 46, in <module> from human_body_prior.tools.model_loader import load_vposer ImportError: cannot import name 'load_vposer' from 'human_body_prior.tools.model_loader' (C:\ProgramData\Anaconda3\lib\site-packages\human_body_prior\tools\model_loader.py) #49

Open
lucasjinreal opened this issue Dec 30, 2021 · 6 comments

Comments

@lucasjinreal
Copy link

\smplifyx\fit_single_frame.py", line 46, in
from human_body_prior.tools.model_loader import load_vposer
ImportError: cannot import name 'load_vposer' from 'human_body_prior.tools.model_loader' (C:\ProgramData\Anaconda3\lib\site-packages\human_body_prior\tools\model_loader.py)

@evyevyevy
Copy link

Have you solved this problem? I also met this error.

@evyevyevy
Copy link

I tried this in follow, and I solved the problem.

from human_body_prior.models.vposer_model import VPoser

@lucasjinreal
Copy link
Author

@evyevyevy Does VPoser same usage as load_vposer?

@evyevyevy
Copy link

@evyevyevy Does VPoser same usage as load_vposer?

Sorry, I didn’t say it completely before, I successfully imported load_model after importing VPoser

from human_body_prior.models.vposer_model import VPoser from human_body_prior.tools.model_loader import load_model

@lucasjinreal
Copy link
Author

@evyevyevy How to use it then? combined with VPoser and load_model

@nessvan
Copy link

nessvan commented Jul 26, 2024

vposer_model if for cvpr19 branch. You can replace it like this for the master branch:

from human_body_prior.tools.model_loader import load_model
from human_body_prior.models.vposer_model import VPoser

vposer, _ = load_model(vposer_ckpt,model_code=VPoser)

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