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
496a77e8
Commit
496a77e8
authored
Apr 29, 2022
by
Abdullah Rashwan
Committed by
A. Unique TensorFlower
Apr 29, 2022
Browse files
Internal change
PiperOrigin-RevId: 445515247
parent
89ee0f7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
official/vision/beta/projects/panoptic_maskrcnn/serving/panoptic_segmentation.py
...ojects/panoptic_maskrcnn/serving/panoptic_segmentation.py
+3
-3
No files found.
official/vision/beta/projects/panoptic_maskrcnn/serving/panoptic_segmentation.py
View file @
496a77e8
...
@@ -129,9 +129,9 @@ class PanopticSegmentationModule(detection.DetectionModule):
...
@@ -129,9 +129,9 @@ class PanopticSegmentationModule(detection.DetectionModule):
scores
=
tf
.
nn
.
softmax
(
masks
,
axis
=-
1
)
scores
=
tf
.
nn
.
softmax
(
masks
,
axis
=-
1
)
final_outputs
.
update
({
final_outputs
.
update
({
'detection_masks'
:
detections
[
'detection_masks'
],
'detection_masks'
:
detections
[
'detection_masks'
],
'
mask
s'
:
masks
,
'
semantic_logit
s'
:
masks
,
'scores'
:
scores
,
'
semantic_
scores'
:
scores
,
'classes'
:
classes
,
'
semantic_
classes'
:
classes
,
'image_info'
:
image_info
'image_info'
:
image_info
})
})
if
model_params
.
generate_panoptic_masks
:
if
model_params
.
generate_panoptic_masks
:
...
...
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