Commit c2fd7c03 authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub

Merge pull request #14474 from akx/realesrgan-is-esrgan

Correct RealESRGAN expected architecture type to ESRGAN
parents 7c13ffdb 393a5b82
...@@ -40,7 +40,7 @@ class UpscalerRealESRGAN(Upscaler): ...@@ -40,7 +40,7 @@ class UpscalerRealESRGAN(Upscaler):
info.local_data_path, info.local_data_path,
device=self.device, device=self.device,
half=(not cmd_opts.no_half and not cmd_opts.upcast_sampling), 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( return upscale_with_model(
mod, mod,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment