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
ModelZoo
ResNet50_tensorflow
Commits
beb13322
Commit
beb13322
authored
Dec 27, 2016
by
Neal Wu
Committed by
GitHub
Dec 27, 2016
Browse files
Merge pull request #818 from arokem/patch-1
DOC: Typo in resnet documentation
parents
11b8ab86
50b9c40a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
resnet/resnet_model.py
resnet/resnet_model.py
+1
-1
No files found.
resnet/resnet_model.py
View file @
beb13322
...
@@ -225,7 +225,7 @@ class ResNet(object):
...
@@ -225,7 +225,7 @@ class ResNet(object):
def
_bottleneck_residual
(
self
,
x
,
in_filter
,
out_filter
,
stride
,
def
_bottleneck_residual
(
self
,
x
,
in_filter
,
out_filter
,
stride
,
activate_before_residual
=
False
):
activate_before_residual
=
False
):
"""Bottleneck resi
s
ual unit with 3 sub layers."""
"""Bottleneck resi
d
ual unit with 3 sub layers."""
if
activate_before_residual
:
if
activate_before_residual
:
with
tf
.
variable_scope
(
'common_bn_relu'
):
with
tf
.
variable_scope
(
'common_bn_relu'
):
x
=
self
.
_batch_norm
(
'init_bn'
,
x
)
x
=
self
.
_batch_norm
(
'init_bn'
,
x
)
...
...
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