Replies: 2 comments 1 reply
-
How low/high is the denoise for this example? I never tried to use img2img with controlnet too much, but I think it might be the color correction? Deactivating it is probably not a real solution but you can comment out the line in processing.py that is pretty far on the top "image = blendLayers(image, original_image, BlendType.LUMINOSITY)". This makes the color correction work in a slightly different way. It is in the function apply_color_correction. Tbh, I always have this line commented out, and I also save the img2img image before applying color correction, but use the color corrected image to feed it back into loopback. This way the artifacts from the color correction dont show up on the images, like color banding embossing etc. Short on time right now but you can search images.py for the part where it saves the image and hack it a bit to do this If doing loopback I recommend using the MSE VAE for SD 1.5 instead of the EMA one. It is smoother |
Beta Was this translation helpful? Give feedback.
-
I have the same problem, ocurrs with inpainting too |
Beta Was this translation helpful? Give feedback.
-
I've seen a few people mention this in various discord channels as well as on reddit. I've run into a similar issue.
The overall workflow: take an image generated with txt2img. Put it in img2img along with a controlnet image. Generate a new image. This image appears more saturated than the previous one. Rinse and repeat a few times, and things quickly get out of control.
Here's an example.
First image:
Second image:
Fifth image:
Any further than that and it starts to get ridiculous:
I've started a discussion rather than an enhancement request because I don't know if the functionality is already present to prevent this from happening. Turning on sigma adjustment "fixes" this particular problem, but introduces a new one; eventually, the image is washed out by a color rather than being super saturated:
I've tweaked every knob I can think of to try to fix it (randomness seemed hopeful), but changing anything usually keeps the same problem and introduces a new one.
Not sure who to ping on the discussion. Perhaps @AUTOMATIC1111 @MartinCairnsSQL @elias-sundqvist (hope you don't mind the ping).
Beta Was this translation helpful? Give feedback.
All reactions