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 05f91a6 commit 89f8db6Copy full SHA for 89f8db6
torchvision/models/utils.py
@@ -1,3 +1,6 @@
1
+# Don't remove this file and don't change the imports of load_state_dict_from_url
2
+# from other files. We need this so that we can swap load_state_dict_from_url with
3
+# a custom internal version in fbcode.
4
try:
5
from torch.hub import load_state_dict_from_url
6
except ImportError:
0 commit comments