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
07a02460
Commit
07a02460
authored
Apr 17, 2019
by
Adam J. Stewart
Committed by
Francisco Massa
Apr 17, 2019
Browse files
Fix typo in DenseNet comment (#857)
parent
a2e6b709
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/models/densenet.py
torchvision/models/densenet.py
+1
-1
No files found.
torchvision/models/densenet.py
View file @
07a02460
...
...
@@ -118,7 +118,7 @@ class DenseNet(nn.Module):
def
_load_state_dict
(
model
,
model_url
):
# '.'s are no longer allowed in module names, but p
e
rvious _DenseLayer
# '.'s are no longer allowed in module names, but pr
e
vious _DenseLayer
# has keys 'norm.1', 'relu.1', 'conv.1', 'norm.2', 'relu.2', 'conv.2'.
# They are also in the checkpoints in model_urls. This pattern is used
# to find such keys.
...
...
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