portu-sim / sd-webui-bmab

Auto masking and inpainting for person, face, hand. Resizing image using detection model.
GNU Affero General Public License v3.0
292 stars 29 forks source link

Image blending not working #32

Closed nitinmukesh closed 3 months ago

nitinmukesh commented 4 months ago

Not sure what am I doing wrong. I get the error as posted but the process finish without merging the images. My understanding is it should take the person image and merge with 2nd image.

 •  python: 3.10.6  •  torch: 2.1.2+cu121  •  xformers: N/A  •  gradio: 3.41.2  

*** Error running before_process: C:\stable-diffusion-webui\extensions\sd-webui-bmab\scripts\sd_webui_bmab.py 1.13it/s]
    Traceback (most recent call last):
      File "C:\stable-diffusion-webui\modules\scripts.py", line 776, in before_process
        script.before_process(p, *script_args)
      File "C:\stable-diffusion-webui\extensions\sd-webui-bmab\sd_bmab\bmab.py", line 54, in before_process
        controlnet.update_controlnet_args(p)
      File "C:\stable-diffusion-webui\extensions\sd-webui-bmab\sd_bmab\controlnet.py", line 113, in update_controlnet_args
        controlnet_args = (cn_arg_index[0], cn_arg_index[-1])
    IndexError: list index out of range
image image
portu-sim commented 3 months ago

Please install sd-webui-controlnet extension.