Open k52252467 opened 9 months ago
Attached is my check that there are Batch Options in ControlNet in stable-diffusion-webui, but there is no ControlNet in your stable-diffusion-webui-forge. This seems to be the reason for the error?
This is an annoying reproduceable bug in Forge.
The lines of code ending with:
File "C:\AI\stable-diffusion-webui-forge\webui\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py", line 555, in process_before_every_sampling self.process_unit_before_every_sampling(p, unit, self.current_params[i], *args, **kwargs)
... are indicating that before every sampling it is checking the contents of all the ControlNets (by default ControlNet 0, 1 and 2.
If you are using just one with InsightFace+CLIP-H (IPAdapter)/ip-adapter-faceid-plusv2_sdxl [187cb962], you will also see that what's in ControlNet 0 has also been copied down into ControlNets 1 and 2. If you 'un' enable ControlNets 1 and 2 and set the control types in those to ALL thus setting the preprocessor and model combination back to none/none for ControlNets 1 and 2, you will see the error message goes away.
So that's how to get rid of the message. Unfortunately, if you go into settings to try and set this as the Default it will not do so and next time you completely restart Forge from scratch the Controlnets 1 and 2 will be back to what's in ControlNet 0 and the error message will reappear.
It's a shame that making ControlNet a built in extension is causing these issues that don't appear in Automatic1111.
Personally, I still prefer Forge for the speed/memory handling, but I can see why people are put off by these unnecessary bugs.
But, hey ho, it is free.
This is an annoying reproduceable bug in Forge.
The lines of code ending with:
File "C:\AI\stable-diffusion-webui-forge\webui\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py", line 555, in process_before_every_sampling self.process_unit_before_every_sampling(p, unit, self.current_params[i], *args, **kwargs)
... are indicating that before every sampling it is checking the contents of all the ControlNets (by default ControlNet 0, 1 and 2.
If you are using just one with InsightFace+CLIP-H (IPAdapter)/ip-adapter-faceid-plusv2_sdxl [187cb962], you will also see that what's in ControlNet 0 has also been copied down into ControlNets 1 and 2. If you 'un' enable ControlNets 1 and 2 and set the control types in those to ALL thus setting the preprocessor and model combination back to none/none for ControlNets 1 and 2, you will see the error message goes away.
So that's how to get rid of the message. Unfortunately, if you go into settings to try and set this as the Default it will not do so and next time you completely restart Forge from scratch the Controlnets 1 and 2 will be back to what's in ControlNet 0 and the error message will reappear.
It's a shame that making ControlNet a built in extension is causing these issues that don't appear in Automatic1111.
Personally, I still prefer Forge for the speed/memory handling, but I can see why people are put off by these unnecessary bugs.
But, hey ho, it is free.
Thank you very much for some insights and explanations. I hope the author can solve this problem soon.
Checklist
What happened?
I'm in stable-diffusion-webui, You can use the sd-webui-IS-NET-pro plug-in (script) normally, I use his Txt_to_Image_multi_frame_rendering.py function, Used in T2I, But it cannot be used in stable-diffusion-webui-forge. He can't seem to use Use another image as ControlNet input into ControlNet
This is the URL of the plugin https://github.com/ClockZinc/sd-webui-IS-NET-pro
I know this may not be related to your script, but I also can't use the original ControlNet plugin in your stable-diffusion-webui-forge, it gets disabled after installation,
Does your built-in ControlNet not support certain scripts or plug-ins?
You can see in the LOG, it shows that I have used any image, but I use sd-webui-IS-NET-pro and it can Use another image as ControlNet input
In the picture, although I checked Use another image as ControlNet input, But it can still be used normally in the original stable-diffusion-webui. Of course, I also tried to check it, but it still cannot be used in stable-diffusion-webui-forge.
simply put, stable-diffusion-webui is used normally, Not available in stable-diffusion-webui-forge
Steps to reproduce the problem
Use sd-webui-IS-NET-pro plug-in (script) for T2I, Txt_to_Image_multi_frame_rendering.py,
He cannot input image into ControlNet
What should have happened?
He should be able to use Use another image as ControlNet input to controlnet, Because I need hundreds to thousands of pictures to convert at a time, He should convert accordingly according to the picture number.
What browsers do you use to access the UI ?
No response
Sysinfo
sysinfo-2024-02-28-14-18.json
Console logs
Additional information
No response