aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-01-04 13:46:21 +0300
committerGitHub <noreply@github.com>2023-01-04 13:46:21 +0300
commit77c3bc77479cb41be1fbae310d073da4b43530c1 (patch)
tree290e6708f551e0963596232a18bd32807429f677
parent4ec6470a1a2d9430b91266426f995e48f59564e1 (diff)
parente5b7ee910e7bb88f08e8876b5732cb034c6fe529 (diff)
Merge pull request #6298 from stysmmaker/fix/intermediate-step-full-res
Save full resolution of intermediate step
-rw-r--r--modules/processing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index a172af0b..93e75ba6 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -705,7 +705,7 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing):
return
if not isinstance(image, Image.Image):
- image = sd_samplers.sample_to_image(image, index)
+ image = sd_samplers.sample_to_image(image, index, approximation=0)
images.save_image(image, self.outpath_samples, "", seeds[index], prompts[index], opts.samples_format, suffix="-before-highres-fix")