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
bd27aa70
"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "aa7749c57d83a44ec8c1b2b36baf33b585cbeb33"
Commit
bd27aa70
authored
Jul 29, 2020
by
syiming
Browse files
add batchnorm layer
parent
95d8a879
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
research/object_detection/models/faster_rcnn_resnet_v1_fpn_keras_feature_extractor.py
...dels/faster_rcnn_resnet_v1_fpn_keras_feature_extractor.py
+2
-0
No files found.
research/object_detection/models/faster_rcnn_resnet_v1_fpn_keras_feature_extractor.py
View file @
bd27aa70
...
@@ -295,6 +295,8 @@ class FasterRCNNResnetV1FpnKerasFeatureExtractor(
...
@@ -295,6 +295,8 @@ class FasterRCNNResnetV1FpnKerasFeatureExtractor(
feature_extractor_model
=
tf
.
keras
.
models
.
Sequential
([
feature_extractor_model
=
tf
.
keras
.
models
.
Sequential
([
tf
.
keras
.
layers
.
Flatten
(),
tf
.
keras
.
layers
.
Flatten
(),
tf
.
keras
.
layers
.
Dense
(
units
=
1024
,
activation
=
'relu'
),
tf
.
keras
.
layers
.
Dense
(
units
=
1024
,
activation
=
'relu'
),
self
.
_conv_hyperparams
.
build_batch_norm
(
training
=
(
self
.
_is_training
and
not
self
.
_freeze_batchnorm
)),
tf
.
keras
.
layers
.
Dense
(
units
=
1024
,
activation
=
'relu'
),
tf
.
keras
.
layers
.
Dense
(
units
=
1024
,
activation
=
'relu'
),
tf
.
keras
.
layers
.
Reshape
((
1
,
1
,
1024
))
tf
.
keras
.
layers
.
Reshape
((
1
,
1
,
1024
))
])
])
...
...
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