ControlNet-for-Diffusers icon indicating copy to clipboard operation
ControlNet-for-Diffusers copied to clipboard

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

Open Suhail opened this issue 1 year ago • 4 comments

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 avatar Mar 05 '23 20:03 Suhail

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

Suhail avatar Mar 05 '23 21:03 Suhail

Could you please use a specific commit id? @Suhail

git checkout 9a37409663a53f775fa380db332d37d7ea75c915

haofanwang avatar Mar 06 '23 11:03 haofanwang

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

liangwq avatar Mar 07 '23 02:03 liangwq

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

paulpaulzhang avatar Mar 07 '23 10:03 paulpaulzhang