sd-webui-controlnet
sd-webui-controlnet copied to clipboard
TypeError: ControlParams.__init__() takes 9 positional arguments but 10 were given
just upgraded my controlNet,trying to test the new multi controlnet funciton. but here comes an error. Any help? NOT A BUG!!!!RESTART YOUR SERVER TO SLOVE THE PROBLEM Loading model: control_openpose-fp16 [9ca67cc5] Loaded state_dict from [C:\stable-diffusion-webui\extensions\sd-webui-controlnet\models\control_openpose-fp16.safetensors] ControlNet model control_openpose-fp16 [9ca67cc5] loaded. Loading preprocessor: openpose Error running process: C:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py Traceback (most recent call last): File "C:\stable-diffusion-webui\modules\scripts.py", line 386, in process script.process(p, *script_args) File "C:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 669, in process forward_param = ControlParams(model_net, control, guess_mode, weight, False, guidance_start, guidance_end, None, isinstance(model_net, PlugableAdapter)) TypeError: ControlParams.init() takes 9 positional arguments but 10 were given
same error here ... since the last update a couple of minutes ago:
Error running process: G:\Automatic1111\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "G:\Automatic1111\stable-diffusion-webui\modules\scripts.py", line 386, in process
script.process(p, *script_args)
File "G:\Automatic1111\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 669, in process
forward_param = ControlParams(model_net, control, guess_mode, weight, False, guidance_start, guidance_end, None, isinstance(model_net, PlugableAdapter))
TypeError: ControlParams.__init__() takes 9 positional arguments but 10 were given
version: fc8a8855 (Mon Feb 27 10:32:23 2023)
this is a show stopping bug since controlNet is not working anymore in A1111
I figured, need to restart your server
I figured, need to restart your server
yes that works .. thanks. Everybody updating controlNet via WebUI A1111 will run into this issue if they just restart the UI. You really need to shut down the instance and reopen it. Sorry you mentioned it above .. reading helps! Anyway it would improve UX by 1k percent if you are able to avoid that
I figured, need to restart your server
Worked for me :)