diff options
author | d8ahazard <d8ahazard@gmail.com> | 2022-09-21 08:38:38 -0500 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-22 07:21:54 +0300 |
commit | 4f434c8aea3007cbf8038aec0c2a73c452ec9eca (patch) | |
tree | 58b011ec37f875f00d7453c4fad75c0aa7debf9e /modules/realesrgan_model.py | |
parent | 9a93a82b8255f3049f1b1d30d0c06c3085e4410a (diff) |
Fix/Revert opts name from GAN to ESRGAN
Diffstat (limited to 'modules/realesrgan_model.py')
-rw-r--r-- | modules/realesrgan_model.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/realesrgan_model.py b/modules/realesrgan_model.py index b24cffeb..a3917773 100644 --- a/modules/realesrgan_model.py +++ b/modules/realesrgan_model.py @@ -96,8 +96,8 @@ def upscale_with_realesrgan(image, RealESRGAN_upscaling, RealESRGAN_model_index) model_path=info.location,
model=model,
half=not cmd_opts.no_half,
- tile=opts.GAN_tile,
- tile_pad=opts.GAN_tile_overlap,
+ tile=opts.ESRGAN_tile,
+ tile_pad=opts.ESRGAN_tile_overlap,
)
upsampled = upsampler.enhance(np.array(image), outscale=RealESRGAN_upscaling)[0]
|