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
3991a54f
Commit
3991a54f
authored
Jan 07, 2020
by
Yeqing Li
Committed by
A. Unique TensorFlower
Jan 07, 2020
Browse files
Internal changes.
PiperOrigin-RevId: 288514265
parent
a6e44930
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/vision/detection/modeling/architecture/heads.py
official/vision/detection/modeling/architecture/heads.py
+1
-1
No files found.
official/vision/detection/modeling/architecture/heads.py
View file @
3991a54f
...
...
@@ -224,7 +224,7 @@ class FastrcnnHead(object):
net
=
tf
.
keras
.
layers
.
Dense
(
units
=
self
.
_fc_dims
,
activation
=
(
None
if
self
.
_use_batch_norm
else
tf
.
nn
.
relu
),
name
=
'fc{}'
.
format
(
i
+
6
))(
name
=
'fc{}'
.
format
(
i
))(
net
)
if
self
.
_use_batch_norm
:
net
=
self
.
_batch_norm_relu
(
fused
=
False
)(
net
,
is_training
=
is_training
)
...
...
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