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
cf3bb8cf
Commit
cf3bb8cf
authored
Oct 14, 2021
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 403132893
parent
63efa179
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
official/vision/beta/modeling/layers/detection_generator.py
official/vision/beta/modeling/layers/detection_generator.py
+1
-0
No files found.
official/vision/beta/modeling/layers/detection_generator.py
View file @
cf3bb8cf
...
@@ -391,6 +391,7 @@ def _generate_detections_batched(boxes: tf.Tensor, scores: tf.Tensor,
...
@@ -391,6 +391,7 @@ def _generate_detections_batched(boxes: tf.Tensor, scores: tf.Tensor,
score_threshold
=
pre_nms_score_threshold
,
score_threshold
=
pre_nms_score_threshold
,
pad_per_class
=
False
,
pad_per_class
=
False
,
clip_boxes
=
False
))
clip_boxes
=
False
))
nmsed_classes
=
tf
.
cast
(
nmsed_classes
,
tf
.
int32
)
return
nmsed_boxes
,
nmsed_scores
,
nmsed_classes
,
valid_detections
return
nmsed_boxes
,
nmsed_scores
,
nmsed_classes
,
valid_detections
...
...
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