sd-webui-controlnet
sd-webui-controlnet copied to clipboard
ControlNet sample image remains in 'memory' of SD
I'm not able to reset the sample/pose image of ControlNet. When I use ControlNet to generate an image, the sample data is stored in 'memory' and I'm not able to reset it. I have to restart the webui cmd window to delete it.
Steps to reproduce:
- Start the WebUI
- Generate an image (without prompt, just default settings), it will generate a different image every time, as expected.
- Fill in a prompt like 'a photo of a bird'
- Use ControlNet to scribble a simple drawing of a bird.
- Generate an image, it will generate a photo of a bird with guidance from the scribble, as expected.
- Now reload the WebUI, all settings will be reset, as expected.
- Generate an image (without prompt, just default settings, ControlNet is disabled), now the scribble of the bird will be present in all images and it remains in 'memory.
I think this is a bug, or I don't understand to reset ControlNet?
Cheers,
Jeff
I have the same happening to me
Maybe some state management issue with gradio or webui. Currently you need to disable it before/after reload UI by ticking Enable checkbox
I had this happen few days ago and it did not returned but maybe it has to be triggered somehow, i had it with txt2img when i disabled controlnet with tickbox
I've had this happen when using Controlnet in the UI, but then calling img2img in the API - seems to bleed through?
fixed in https://github.com/Mikubill/sd-webui-controlnet/commit/f46de9741018068cd2dc46b4a1d972283f6e3093