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

from human_body_prior.tools.model_loader import load_vposer ImportError: cannot import name 'load_vposer' from 'human_body_prior.tools.model_loader' #166

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

Comments

@lucasjinreal
Copy link

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

@lucasjinreal
Copy link
Author

I have already installed human_body_prior from git

@sparshgarg23
Copy link

try looking at issue 144,and see if it helps

@wang-zm18
Copy link

@sparshgarg23, I also met this problem. But I did not find issue 144, could you please help me? Thank you in advance!

@wang-zm18
Copy link

I have found the answer, it helps
https://pythonissues.com/issues/1970496

@lucasjinreal
Copy link
Author

@wang-zm18 If you try load pose v1.0 model you will fail even though you fixed these imports.

v1.0 no longer compatible with current code. you can only using v2.5 model. if you want using both v1.0 and v2.5, you'd better copy old code standalone, and try some if logic to load them all, since the finding ckpt logic also changed.

@sparshgarg23
Copy link

i was able to run v1.0 model on colab as shown here
https://colab.research.google.com/github/sergeyprokudin/smplpix/blob/main/colab_notebooks/Convert_Video_to_SMPLpix_Dataset.ipynb#scrollTo=ODeGAyGrrIov
but if what you are saying is correct then it's better to hear from @vchoutas or @nghorbani ,as they will be able to tell us what steps can be taken to resolve the issue

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