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
fd7e8be5
Commit
fd7e8be5
authored
Jul 01, 2020
by
syiming
Browse files
concat all anchors
parent
1c6ba420
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
research/object_detection/meta_architectures/faster_rcnn_meta_arch.py
...ect_detection/meta_architectures/faster_rcnn_meta_arch.py
+1
-0
No files found.
research/object_detection/meta_architectures/faster_rcnn_meta_arch.py
View file @
fd7e8be5
...
@@ -1332,6 +1332,7 @@ class FasterRCNNMetaArch(model.DetectionModel):
...
@@ -1332,6 +1332,7 @@ class FasterRCNNMetaArch(model.DetectionModel):
single_rpn_box_predictor_features
=
(
single_rpn_box_predictor_features
=
(
self
.
_first_stage_box_predictor_first_conv
(
single_rpn_features_to_crop
))
self
.
_first_stage_box_predictor_first_conv
(
single_rpn_features_to_crop
))
rpn_box_predictor_features
.
append
(
single_rpn_box_predictor_features
)
rpn_box_predictor_features
.
append
(
single_rpn_box_predictor_features
)
anchors
=
tf
.
concat
(
anchors
,
axis
=
0
)
return
(
rpn_box_predictor_features
,
rpn_features_to_crop
,
return
(
rpn_box_predictor_features
,
rpn_features_to_crop
,
anchors
,
image_shape
)
anchors
,
image_shape
)
...
...
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