sd-webui-controlnet icon indicating copy to clipboard operation
sd-webui-controlnet copied to clipboard

ControlNet masks are always blank and have no effect on the final image

Open ezynda3 opened this issue 1 year ago • 12 comments

image image image

Not sure what the issue is. Using a runpod instance with RTX A5000 29GB ram

ezynda3 avatar Feb 16 '23 12:02 ezynda3

Non-zero canvas + external image will result in the issue. Ensure that the canvas is empty if you want to upload image as input.

Mikubill avatar Feb 16 '23 13:02 Mikubill

So the canvas is completely empty. I've tried clicking to upload the image as well as copy pasting the image to canvas. Neither actually work...

ezynda3 avatar Feb 16 '23 13:02 ezynda3

Having the same issue, using 1.5 SD model with fresh instance of Automatic1111. 1 2

andr8337 avatar Feb 16 '23 13:02 andr8337

Couldn't reproduce. Maybe something like browser compatibility?

Mikubill avatar Feb 16 '23 13:02 Mikubill

Ok weird but it seems like it doesn't work in Brave browser but does in Chrome...

ezynda3 avatar Feb 16 '23 13:02 ezynda3

I use firefox, and it works on chrome. Appears to be the extension "CanvasBlocker" used to avoid fingerprinting, it has to be completely disabled and not just turned off.

https://github.com/kkapsner/CanvasBlocker/

andr8337 avatar Feb 16 '23 14:02 andr8337

Interesting. Does CanvasBlocker allow whitelisting certain domains so it will not act on them? Depending on the implementation, that might not be enough, but I'm just curious. A quick look around, I'm having trouble figuring out if that's possible.

MegaScience avatar Feb 16 '23 15:02 MegaScience

In my short testing it seems to need total disabling in settings, not just turned off. So a whitelist properly won't be enough.

andr8337 avatar Feb 16 '23 16:02 andr8337

Yeah, can't load it while using brave browser

ilahazs avatar Feb 19 '23 13:02 ilahazs

Fwiw, for me it doesn't work on Chrome either, but your suggestion that it's due to extensions made me try it in the incognito mode, where it works fine. In my case, the extension that caused it to fail was Crumbs.

sygi avatar Feb 20 '23 21:02 sygi

I am having the same issue, that it generates white empty mask, but only with MSLD preprocessor, canny and others work as expected. Anyone experiencing same issue?

DanielSpacek avatar Feb 23 '23 12:02 DanielSpacek

So, I've been fighting this issue all last week and I've came to the conclusion that it does not work unless accessing from localhost or 127.0.0.1. Any domain names or even the Gradio proxy url will cause it to fail.

I am using Brave and was able to fix the issue by putting the Shields Down/Trusting my domain url. Appears to be related to some of the tracker blocking, so it will likely be related to any other Ad blocking features in browsers or extensions.

neo-js avatar Feb 27 '23 20:02 neo-js