Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
89f8db61
Unverified
Commit
89f8db61
authored
Jun 16, 2021
by
Nicolas Hug
Committed by
GitHub
Jun 16, 2021
Browse files
Add comments (#4072)
parent
05f91a69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
torchvision/models/utils.py
torchvision/models/utils.py
+3
-0
No files found.
torchvision/models/utils.py
View file @
89f8db61
# Don't remove this file and don't change the imports of load_state_dict_from_url
# from other files. We need this so that we can swap load_state_dict_from_url with
# a custom internal version in fbcode.
try
:
try
:
from
torch.hub
import
load_state_dict_from_url
from
torch.hub
import
load_state_dict_from_url
except
ImportError
:
except
ImportError
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment