We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1752fe6 commit 218d2abCopy full SHA for 218d2ab
torchvision/models/mnasnet.py
@@ -173,7 +173,7 @@ def _load_from_state_dict(
173
) -> None:
174
version = local_metadata.get("version", None)
175
if version not in [1, 2]:
176
- raise ValueError(f"version shluld be set to 1 or 2 instead of {version}")
+ raise ValueError(f"version should be set to 1 or 2 instead of {version}")
177
178
if version == 1 and not self.alpha == 1.0:
179
# In the initial version of the model (v1), stem was fixed-size.
0 commit comments