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

TypeError: forward() got an unexpected keyword argument 'controlnet_hint' #24

Open
Suhail opened this issue Mar 5, 2023 · 4 comments
Open

Comments

@Suhail
Copy link

Suhail commented Mar 5, 2023

It looks like something has changed with diffusers and it doesn't have this param:

CleanShot 2023-03-05 at 12 36 15

CleanShot 2023-03-05 at 12 37 37

CleanShot 2023-03-05 at 12 36 48

@Suhail
Copy link
Author

Suhail commented Mar 5, 2023

I tried converting it with the new HF script you updated:
- python scripts/convert_original_stable_diffusion_to_diffusers.py --controlnet --checkpoint_path ../models/control_sd15_canny.pth --dump_path ../models/control_sd15_canny --device cpu --original_config_file ./cldm_v15.yaml

But I might be missing something about the conversion:
CleanShot 2023-03-05 at 13 08 57

@haofanwang
Copy link
Owner

Could you please use a specific commit id? @Suhail

git checkout 9a37409663a53f775fa380db332d37d7ea75c915

@liangwq
Copy link

liangwq commented Mar 7, 2023

git checkout 9a37409663a53f775fa380db332d37d7ea75c915 this pr can‘t find
maybe this pipline must update

@paulpaulzhang
Copy link

I replaced control_hint by control_cond, new error occurred, maybe unet not have control param
iShot_2023-03-07_18 34 08

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

4 participants