Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
csaybar committed Oct 24, 2024
1 parent 3ec2b17 commit a3194c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supers2/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def load_srx4_model(
model_params["upscale"] = 4

# Load the model
SRX4 = load_model(model_name, model_params, kwargs)
SRX4 = load_model(model_name, model_params, device=device, **kwargs)
SRX4.load_state_dict(weights_data)
SRX4.eval()
for param in SRX4.parameters():
Expand Down

0 comments on commit a3194c0

Please sign in to comment.