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

__init__() got an unexpected keyword argument 'estimate_jacobian' #3

Closed
howardgriffin opened this issue Dec 21, 2019 · 4 comments
Closed

Comments

@howardgriffin
Copy link

Hi,when I downloaded your checkpoint/fashion.pth.tar and 'python demo.py', I encountered this problem.
Traceback (most recent call last):
File "demo.py", line 92, in
generator, kp_detector = load_checkpoints(config_path=opt.config, checkpoint_path=opt.checkpoint)
File "demo.py", line 28, in load_checkpoints
**config['model_params']['common_params'])
TypeError: init() got an unexpected keyword argument 'estimate_jacobian'
Would you please tell me how to solve it?

@AliaksandrSiarohin
Copy link
Owner

What is precise command that you use?

@howardgriffin
Copy link
Author

python demo.py --config config/fashion-256.yaml
--driving_video xxx.mp4
--source_image xxx.jpg
--checkpoint checkpoint/fashion.pth.tar
--relative
--adapt_scale \

@AliaksandrSiarohin
Copy link
Owner

This was some re-factoring error. Try to pull a new version.

@howardgriffin
Copy link
Author

It works! Thank you!

EgorVoron added a commit to EgorVoron/first-order-model that referenced this issue Apr 1, 2020
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

2 participants