Closed Nebuluss closed 1 year ago
extacly same issue here
Since we have changed the input args in PlugableControlModel, deforum_controlnet_hardcode needs to be update to match it.
For developers, We recommend to use external extension API - see https://github.com/Mikubill/sd-webui-controlnet/wiki/API for details.
Fixed long time ago. Issue can be closed.
блять кто нибудь помогите
Is there an existing issue for this?
What happened?
The model is now loading properly and accessible both in img2img and in deforum.
It's work fine in img2img but in deforum section i got an issue, it will process and work fine on the first frame then when generating the second frame an error happen :
File "D:\WebuiMirror\stable-diffusion-webui-master\modules\call_queue.py", line 56, in f res = list(func(*args, *kwargs)) File "D:\WebuiMirror\stable-diffusion-webui-master\modules\call_queue.py", line 37, in f res = func(args, *kwargs) File "D:\WebuiMirror\stable-diffusion-webui-master\extensions\deforum-for-automatic1111-webui\scripts\deforum.py", line 80, in run_deforum render_animation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root.animation_prompts, root) File "D:\WebuiMirror\stable-diffusion-webui-master/extensions/deforum-for-automatic1111-webui/scripts\deforum_helpers\render.py", line 420, in render_animation image = generate(args, anim_args, loop_args, controlnet_args, root, frame_idx, sampler_name=scheduled_sampler_name) File "D:\WebuiMirror\stable-diffusion-webui-master/extensions/deforum-for-automatic1111-webui/scripts\deforum_helpers\generate.py", line 209, in generate processed = process_img2img_with_controlnet(p, args, anim_args, loop_args, controlnet_args, root, frame) File "D:\WebuiMirror\stable-diffusion-webui-master/extensions/deforum-for-automatic1111-webui/scripts\deforum_helpers\deforum_controlnet.py", line 341, in process_img2img_with_controlnet processed = process(p, (p.script_args)) File "D:\WebuiMirror\stable-diffusion-webui-master/extensions/deforum-for-automatic1111-webui/scripts\deforum_helpers\deforum_controlnet_hardcode.py", line 95, in process network = network_module( TypeError: PlugableControlModel.init() got an unexpected keyword argument 'weight'
Steps to reproduce the problem
What should have happened?
Should generate the second frame
Commit where the problem happens
webui: 0cc0ee1 controlnet: d41c470e
Deforum 7e8fc222 (Wed Mar 1 23:28:34 2023)
What browsers do you use to access the UI ?
No response
Command Line Arguments
Console logs
Additional information
none