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
102611ad
Commit
102611ad
authored
Jun 24, 2021
by
Ronny Votel
Committed by
TF Object Detection Team
Jun 24, 2021
Browse files
Pass boxes_strided to multi-class centernet postprocessing
PiperOrigin-RevId: 381366438
parent
6264aa72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
research/object_detection/meta_architectures/center_net_meta_arch.py
...ject_detection/meta_architectures/center_net_meta_arch.py
+1
-1
No files found.
research/object_detection/meta_architectures/center_net_meta_arch.py
View file @
102611ad
...
@@ -3759,7 +3759,7 @@ class CenterNetMetaArch(model.DetectionModel):
...
@@ -3759,7 +3759,7 @@ class CenterNetMetaArch(model.DetectionModel):
])
])
keypoints
,
keypoint_scores
=
self
.
_postprocess_keypoints_multi_class
(
keypoints
,
keypoint_scores
=
self
.
_postprocess_keypoints_multi_class
(
prediction_dict
,
channel_indices
,
y_indices
,
x_indices
,
prediction_dict
,
channel_indices
,
y_indices
,
x_indices
,
None
,
num_detections
)
boxes_strided
,
num_detections
)
keypoints
,
keypoint_scores
=
(
keypoints
,
keypoint_scores
=
(
convert_strided_predictions_to_normalized_keypoints
(
convert_strided_predictions_to_normalized_keypoints
(
keypoints
,
keypoint_scores
,
self
.
_stride
,
true_image_shapes
,
keypoints
,
keypoint_scores
,
self
.
_stride
,
true_image_shapes
,
...
...
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