From 19a817d97dad1b2ce58e70cadc35ccba5cf1130e Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Mon, 12 Sep 2022 23:44:36 +0300 Subject: [PATCH] X/Y plot with denoising adds incorrect image data to individual outputs #331 --- modules/img2img.py | 1 - modules/processing.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/img2img.py b/modules/img2img.py index 15e35093f..e31091215 100644 --- a/modules/img2img.py +++ b/modules/img2img.py @@ -63,7 +63,6 @@ def img2img(prompt: str, negative_prompt: str, prompt_style: str, init_img, init inpaint_full_res=inpaint_full_res, inpainting_mask_invert=inpainting_mask_invert, extra_generation_params={ - "Denoising strength": denoising_strength, "Denoising strength change factor": (denoising_strength_change_factor if is_loopback else None) } ) diff --git a/modules/processing.py b/modules/processing.py index 17b4a37b1..92bf66f24 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -194,6 +194,7 @@ def process_images(p: StableDiffusionProcessing) -> Processed: "Variation seed": (None if p.subseed_strength == 0 else all_subseeds[index]), "Variation seed strength": (None if p.subseed_strength == 0 else p.subseed_strength), "Seed resize from": (None if p.seed_resize_from_w == 0 or p.seed_resize_from_h == 0 else f"{p.seed_resize_from_w}x{p.seed_resize_from_h}"), + "Denoising strength": getattr(p, 'denoising_strength', None), } if p.extra_generation_params is not None: