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

Correct RealESRGAN expected architecture type to ESRGAN
This commit is contained in:
AUTOMATIC1111 2023-12-30 22:40:11 +03:00 committed by GitHub
commit c2fd7c0344
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,