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
7140eede
"vscode:/vscode.git/clone" did not exist on "bec9047289028b7fb8b915c2d30b222138805f62"
Commit
7140eede
authored
Jun 22, 2020
by
syiming
Browse files
fix coding style
parent
8db480c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
research/object_detection/models/faster_rcnn_resnet_v1_fpn_keras_feature_extractor_tf2_test.py
...er_rcnn_resnet_v1_fpn_keras_feature_extractor_tf2_test.py
+8
-8
No files found.
research/object_detection/models/faster_rcnn_resnet_v1_fpn_keras_feature_extractor_tf2_test.py
View file @
7140eede
...
@@ -43,7 +43,7 @@ class FasterRCNNResnetV1FPNKerasFeatureExtractorTest(tf.test.TestCase):
...
@@ -43,7 +43,7 @@ class FasterRCNNResnetV1FPNKerasFeatureExtractorTest(tf.test.TestCase):
text_format
.
Merge
(
conv_hyperparams_text_proto
,
conv_hyperparams
)
text_format
.
Merge
(
conv_hyperparams_text_proto
,
conv_hyperparams
)
return
hyperparams_builder
.
KerasLayerHyperparams
(
conv_hyperparams
)
return
hyperparams_builder
.
KerasLayerHyperparams
(
conv_hyperparams
)
def
_build_feature_extractor
(
self
,
architecture
=
'resnet_v1_50'
):
def
_build_feature_extractor
(
self
):
return
frcnn_res_fpn
.
FasterRCNNResnet50FPNKerasFeatureExtractor
(
return
frcnn_res_fpn
.
FasterRCNNResnet50FPNKerasFeatureExtractor
(
is_training
=
False
,
is_training
=
False
,
conv_hyperparams
=
self
.
_build_conv_hyperparams
(),
conv_hyperparams
=
self
.
_build_conv_hyperparams
(),
...
...
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