Mikubill / sd-webui-controlnet

WebUI extension for ControlNet
GNU General Public License v3.0
16.88k stars 1.94k forks source link

[Bug]: #2916

Closed qingweng123 closed 4 months ago

qingweng123 commented 4 months ago

Is there an existing issue for this?

What happened?

The webui controlnet plugin's masked upload feature is not working at all, or rather it's working in a strange way.屏幕截图 2024-05-20 162436屏幕截图 2024-05-20 162950 First of all, the text of the raw image controlnet inpaint (local repaint) no matter how you upload the black and white mask, it does not work, that is, the black area does not block the effect of inpaint, the white area does not work the effect of inpaint, and even in the generation of the result is not a black and white mask, either black and white mask to play the shape of the control and so on.

屏幕截图 2024-05-20 163316

The forge webui has no problem uploading masks, but the normal webui doesn't work at all!

Steps to reproduce the problem

First upload the image in the control net inpanint tab and upload a black and white mask with the same resolution, check the perfect pixel, upload the size size, select the inpaint only preprocessor with the corresponding model, and directly generate the image

What should have happened?

.

Commit where the problem happens

webui: controlnet:

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

.

List of enabled extensions

.

Console logs

.

Additional information

No response

huchenlei commented 4 months ago

See pinned issue: https://github.com/Mikubill/sd-webui-controlnet/issues/2829.

Mask upload feature is replaced by effective region mask to align with behaviour in SD Forge.