Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart authored Sep 28, 2024
1 parent 9c4d54a commit f69b0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/models/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_weight(name: str) -> WeightsEnum:
The requested weight enum.
Raises:
ValueError: if `name` doesn't point to a valid WeightsEnum
ValueError: If *name* is not a valid WeightsEnum.
"""
for weight_name, weight_enum in _model_weights.items():
if isinstance(weight_name, str):
Expand Down

0 comments on commit f69b0f5

Please sign in to comment.