diff options
author | d8ahazard <d8ahazard@gmail.com> | 2022-09-21 01:11:53 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-22 04:21:54 +0000 |
commit | dd5566814acb9623b201c441b458d0d6a7014f2f (patch) | |
tree | bbc151c3f2b978aaefec9c8afc7f58cdb452ed62 /modules/esrgan_model.py | |
parent | cc287d53a5193aab42fa36bedae1ac590ad52322 (diff) | |
download | stable-diffusion-webui-gfx803-dd5566814acb9623b201c441b458d0d6a7014f2f.tar.gz stable-diffusion-webui-gfx803-dd5566814acb9623b201c441b458d0d6a7014f2f.tar.bz2 stable-diffusion-webui-gfx803-dd5566814acb9623b201c441b458d0d6a7014f2f.zip |
Add new models, fix shared opts issues
Add General x4x3, GeneralWDN x4x3, and AnimeVideo models from newer ESRGAN releases.
Fix issues caused by renaming ESRGAN_tille values to GAN_tile without using an IDE...
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 7f3baf31..930e790c 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.ESRGAN_tile == 0:
+ if opts.GAN_tile == 0:
return upscale_without_tiling(model, img)
- grid = modules.images.split_grid(img, opts.ESRGAN_tile, opts.ESRGAN_tile, opts.ESRGAN_tile_overlap)
+ grid = modules.images.split_grid(img, opts.GAN_tile, opts.GAN_tile, opts.GAN_tile_overlap)
newtiles = []
scale_factor = 1
|