diff options
author | space-nuko <24979496+space-nuko@users.noreply.github.com> | 2023-02-10 13:00:09 +0000 |
---|---|---|
committer | space-nuko <24979496+space-nuko@users.noreply.github.com> | 2023-02-10 13:00:54 +0000 |
commit | c88dcc20d495dab4be2692bdff30277112dbe416 (patch) | |
tree | 6470af624a4769c6bc676902a0e05a9222b8f898 /modules/processing.py | |
parent | 21880eb9e57b884635a07d2360831b4186afddf4 (diff) | |
download | stable-diffusion-webui-gfx803-c88dcc20d495dab4be2692bdff30277112dbe416.tar.gz stable-diffusion-webui-gfx803-c88dcc20d495dab4be2692bdff30277112dbe416.tar.bz2 stable-diffusion-webui-gfx803-c88dcc20d495dab4be2692bdff30277112dbe416.zip |
UniPC does not support img2img (for now)
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py index 11e726df..b7cf5357 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -884,7 +884,7 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing): shared.state.nextjob()
- img2img_sampler_name = 'DDIM' # PLMS does not support img2img so we just silently switch ot DDIM
+ img2img_sampler_name = 'DDIM' # PLMS/UniPC does not support img2img so we just silently switch ot DDIM
self.sampler = sd_samplers.create_sampler(img2img_sampler_name, self.sd_model)
samples = samples[:, :, self.truncate_y//2:samples.shape[2]-(self.truncate_y+1)//2, self.truncate_x//2:samples.shape[3]-(self.truncate_x+1)//2]
|