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
f4c4d6cb
Commit
f4c4d6cb
authored
May 21, 2017
by
Sri Krishna
Committed by
Soumith Chintala
May 21, 2017
Browse files
Update squeezenet.py (#172)
changed a small mistake.
parent
cbb05c59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/models/squeezenet.py
torchvision/models/squeezenet.py
+1
-1
No files found.
torchvision/models/squeezenet.py
View file @
f4c4d6cb
...
...
@@ -78,7 +78,7 @@ class SqueezeNet(nn.Module):
Fire
(
512
,
64
,
256
,
256
),
)
# Final convolution is initialized differently form the rest
final_conv
=
nn
.
Conv2d
(
512
,
num_classes
,
kernel_size
=
1
)
final_conv
=
nn
.
Conv2d
(
512
,
self
.
num_classes
,
kernel_size
=
1
)
self
.
classifier
=
nn
.
Sequential
(
nn
.
Dropout
(
p
=
0.5
),
final_conv
,
...
...
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