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 66b55be commit 9acc3eeCopy full SHA for 9acc3ee
torchvision/models/_api.py
@@ -85,8 +85,8 @@ def verify(cls, obj: Any) -> Any:
85
)
86
return obj
87
88
- def get_state_dict(self, progress: bool) -> Mapping[str, Any]:
89
- return load_state_dict_from_url(self.url, progress=progress, check_hash=True)
+ def get_state_dict(self, *args: Any, **kwargs: Any) -> Mapping[str, Any]:
+ return load_state_dict_from_url(self.url, *args, **kwargs)
90
91
def __repr__(self) -> str:
92
return f"{self.__class__.__name__}.{self._name_}"
0 commit comments