Skip to content

Commit

Permalink
Merge pull request #221 from NREL/gb/save_def_device
Browse files Browse the repository at this point in the history
save default device to model parameters so model weights can be loade…
  • Loading branch information
grantbuster authored Jul 1, 2024
2 parents a5f582f + b25afd5 commit ee6ab7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sup3r/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ def model_params(self):
'means': means,
'stdevs': stdevs,
'meta': self.meta,
'default_device': self.default_device,
}

return model_params
Expand Down

0 comments on commit ee6ab7b

Please sign in to comment.