diff options
author | d8ahazard <d8ahazard@gmail.com> | 2022-09-21 13:38:38 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-22 04:21:54 +0000 |
commit | 4f434c8aea3007cbf8038aec0c2a73c452ec9eca (patch) | |
tree | 58b011ec37f875f00d7453c4fad75c0aa7debf9e /modules/esrgan_model.py | |
parent | 9a93a82b8255f3049f1b1d30d0c06c3085e4410a (diff) | |
download | stable-diffusion-webui-gfx803-4f434c8aea3007cbf8038aec0c2a73c452ec9eca.tar.gz stable-diffusion-webui-gfx803-4f434c8aea3007cbf8038aec0c2a73c452ec9eca.tar.bz2 stable-diffusion-webui-gfx803-4f434c8aea3007cbf8038aec0c2a73c452ec9eca.zip |
Fix/Revert opts name from GAN to ESRGAN
Diffstat (limited to 'modules/esrgan_model.py')
-rw-r--r-- | modules/esrgan_model.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/esrgan_model.py b/modules/esrgan_model.py index 930e790c..7f3baf31 100644 --- a/modules/esrgan_model.py +++ b/modules/esrgan_model.py @@ -92,10 +92,10 @@ def upscale_without_tiling(model, img): def esrgan_upscale(model, img):
- if opts.GAN_tile == 0:
+ if opts.ESRGAN_tile == 0:
return upscale_without_tiling(model, img)
- grid = modules.images.split_grid(img, opts.GAN_tile, opts.GAN_tile, opts.GAN_tile_overlap)
+ grid = modules.images.split_grid(img, opts.ESRGAN_tile, opts.ESRGAN_tile, opts.ESRGAN_tile_overlap)
newtiles = []
scale_factor = 1
|