Skip to content

Commit

Permalink
Merge pull request #14474 from akx/realesrgan-is-esrgan
Browse files Browse the repository at this point in the history
Correct RealESRGAN expected architecture type to ESRGAN
  • Loading branch information
AUTOMATIC1111 authored Dec 30, 2023
2 parents 7c13ffd + 393a5b8 commit c2fd7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/realesrgan_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def do_upscale(self, img, path):
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,
Expand Down

0 comments on commit c2fd7c0

Please sign in to comment.