Open jpentland opened 1 year ago
I browsed though the source code, and to my understanding, unprompted doesn't set the controlnet image value automatically (the error is saying it expects a numpy array, AKA the image, but it's receiving nothing). The expected result would be to do something like adetailer and automatically set the controlnet image to the current output (with the generated mask, if applicable). With unprompted, all you can do is set the controlnet image as a path to a file. Hopefully that functionality will be added, but as of right now all you can do is write a custom shortcode (python code) to do this, or you're stuck with manually setting the image in the controlnet UI (useless without the mask).
Due diligence
Describe the bug
If I use the following prompt:
This seems to work ok. However, I want to increase the denoising strength, and use controlnet to ensure that the replaced image matches the surrounding image. So I would change the prompt to this:
With the "inpainting" file created at
extensions/unprompted/templates/common/presets/controlnet/inpainting.txt
:The values
inpaint_only
andcontrol_v11p_sd15_inpaint
were copied from the controlnet extension list of options, which works if selected in the controlnet extension on the img2img tab.However, when running this I get the following result:
Prompt
see above
Log output
Unprompted version
Unprompted v9.16.1
WebUI version
v1.6.0-60-g7ab82787
Other comments
ControlNet v1.1.410