aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-12-30 19:40:11 +0000
committerGitHub <noreply@github.com>2023-12-30 19:40:11 +0000
commitc2fd7c034432da38fe33cee8d99b10c072f28100 (patch)
tree1962b06c30ae06204813940268cfdb012e4732b7
parent7c13ffdbb1968b7a5ac6064e79467b566e9c3a9b (diff)
parent393a5b82ba6df06d85f2bf7bbbe0456d3d06115f (diff)
downloadstable-diffusion-webui-gfx803-c2fd7c034432da38fe33cee8d99b10c072f28100.tar.gz
stable-diffusion-webui-gfx803-c2fd7c034432da38fe33cee8d99b10c072f28100.tar.bz2
stable-diffusion-webui-gfx803-c2fd7c034432da38fe33cee8d99b10c072f28100.zip
Merge pull request #14474 from akx/realesrgan-is-esrgan
Correct RealESRGAN expected architecture type to ESRGAN
-rw-r--r--modules/realesrgan_model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/realesrgan_model.py b/modules/realesrgan_model.py
index 2a2be5ad..65f2e880 100644
--- a/modules/realesrgan_model.py
+++ b/modules/realesrgan_model.py
@@ -40,7 +40,7 @@ class UpscalerRealESRGAN(Upscaler):
info.local_data_path,
device=self.device,
half=(not cmd_opts.no_half and not cmd_opts.upcast_sampling),
- expected_architecture="RealESRGAN",
+ expected_architecture="ESRGAN", # "RealESRGAN" isn't a specific thing for Spandrel
)
return upscale_with_model(
mod,