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

Type Error #1

Closed
haran4597 opened this issue Dec 3, 2019 · 3 comments
Closed

Type Error #1

haran4597 opened this issue Dec 3, 2019 · 3 comments

Comments

@haran4597
Copy link

HI SIR,
When I am trying to run the tutorial , I'm getting an error stating that
TypeError: init() missing 1 required positional argument: 'model_type'
Help me to rectify this error

@AmmarkoV
Copy link

AmmarkoV commented Dec 5, 2019

I have the same issue

python3 test.py
Traceback (most recent call last):
File "test.py", line 16, in
bm = BodyModel(bm_path=bm_path, num_betas=num_betas, num_dmpls=num_dmpls, path_dmpl=dmpl_path).to(comp_device)
TypeError: init() missing 1 required positional argument: 'model_type'

When running the following script ( extension changed from .py to .txt so it could be uploaded to github )
test.txt

@nghorbani
Copy link
Owner

please pull the latest changes of the repository and try again. you are using an outdated version of the repo.
Nima

@nghorbani
Copy link
Owner

I mean the human_body_prior, e.g. run the following command in your environment:
pip install -U git+https://github.com/nghorbani/human_body_prior

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