nghorbani / amass

Data preparation and loader for AMASS
https://amass.is.tue.mpg.de/
Other
659 stars 87 forks source link

Type Error #1

Closed haran4597 closed 4 years ago

haran4597 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

nghorbani commented 4 years ago

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