Error running process

#18
by JimiVex - opened

Hey there, I have been going around in circles for hours trying to work out what I'm doing wrong here. When trying to generate using ControlNet in img2img, after a long pause, it will skip ControlNet and show this message:

Error running process: E:\AI Generation\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "E:\AI Generation\stable-diffusion-webui\modules\scripts.py", line 327, in process
script.process(p, *script_args)
File "E:\AI Generation\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 571, in process
else self.build_control_model(p, unet, model, lowvram)
File "E:\AI Generation\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 446, in build_control_model
network = network_module(
File "E:\AI Generation\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\cldm.py", line 64, in init
self.control_model = ControlNet(**config.model.params.control_stage_config.params)
File "E:\AI Generation\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\cldm.py", line 279, in init
) if not use_spatial_transformer else SpatialTransformer(
TypeError: SpatialTransformer.init() got an unexpected keyword argument 'disable_self_attn'

It also appears to be fine making an annotation preview on the left hand panel, but doesn't apply said annotation. I've got no idea where that argument comes from when I read the code within the script - should be disabled from what I can tell. But, saying that - I'm not all that code savvy tbh, so I'm likely missing something.

Any help would be much appreciated.

Same issue.
Edit: trying to git clone everything instead of model by model.
Edit2: changed nothing.
Edit3: "--no-half" as an arg in the launch .bat worked. Nvm, still no.
Edit4: Tried reloading literally 'EVERYTHING' still no. I have no idea and will try again in a few months.

I keep getting this error, and i cant figure it out. It doesn't seem to matter about the picture size
RuntimeError: mat1 and mat2 shapes cannot be multiplied (154x1024 and 768x320)

hitting this as well

The same problem as you, when I ues openpose this issue comes out😥

Sign up or log in to comment