Merge pull request #6298 from stysmmaker/fix/intermediate-step-full-res

Save full resolution of intermediate step
This commit is contained in:
AUTOMATIC1111 2023-01-04 13:46:21 +03:00 committed by GitHub
commit 77c3bc7747
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -705,7 +705,7 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing):
return return
if not isinstance(image, Image.Image): 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") images.save_image(image, self.outpath_samples, "", seeds[index], prompts[index], opts.samples_format, suffix="-before-highres-fix")