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

If you meet ***Can not import load_vposer or got an unecpected keyword argument 'bm_fname' in Class BodyModel() #53

Open
lulubbb opened this issue Jan 19, 2022 · 5 comments

Comments

@lulubbb
Copy link

lulubbb commented Jan 19, 2022

This problem caused by version of human_body_prior.
First :
'pip install git+https://github.com/nghorbani/human_body_prior'

If it still gives an error, Then:
'pip install git+https://github.com/nghorbani/configer'

@jufi2112
Copy link

I've encountered your first problem when trying to follow the SMPLify-x example as well.
The current model_loader.py file does indeed not contain a function load_vposer.
What I did was not installing via the current git repo but just via pip install human-body-prior The version on PyPI (link) does contain the function load_vposer

@lulubbb lulubbb changed the title Can not import load_vposer or got an unecpected keyword argument 'bm_fname' in Class BodyModel() If you meet ***Can not import load_vposer or got an unecpected keyword argument 'bm_fname' in Class BodyModel() Jan 19, 2022
@lulubbb
Copy link
Author

lulubbb commented Jan 19, 2022

I've encountered your first problem when trying to follow the SMPLify-x example as well. The current model_loader.py file does indeed not contain a function load_vposer. What I did was not installing via the current git repo but just via pip install human-body-prior The version on PyPI (link) does contain the function load_vposer

@jufi2112 :
Thank for you reply .I'm trying to tell people who don't know about this problem. 👍

@2000ZRL
Copy link

2000ZRL commented Aug 23, 2023

I've encountered your first problem when trying to follow the SMPLify-x example as well. The current model_loader.py file does indeed not contain a function load_vposer. What I did was not installing via the current git repo but just via pip install human-body-prior The version on PyPI (link) does contain the function load_vposer

Thanks. It works for me.

@Gullintani
Copy link

I met the same problem when trying to run AMASS.
However I install human-body-prior outside the git.. and still get the problem 😢

@shawnFuu
Copy link

I've encountered your first problem when trying to follow the SMPLify-x example as well. The current model_loader.py file does indeed not contain a function load_vposer. What I did was not installing via the current git repo but just via pip install human-body-prior The version on PyPI (link) does contain the function load_vposer

It really helps! Thank you very much. The code is just confusing me for days!

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

5 participants