Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
the-database committed Jan 9, 2025
1 parent 568d0e9 commit b336f0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/spandrel/spandrel/architectures/ESRGAN/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def load(self, state_dict: StateDict) -> ImageModelDescriptor[ESRGAN]:
if shuffle_factor:
in_nc //= shuffle_factor**2
scale //= shuffle_factor
tags.append("unshuffle")

return ImageModelDescriptor(
model,
Expand Down

0 comments on commit b336f0d

Please sign in to comment.