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
7189e614
Unverified
Commit
7189e614
authored
Mar 18, 2022
by
srihari-humbarwadi
Browse files
cleanup
parent
07d7cb85
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
16 deletions
+1
-16
official/vision/beta/projects/panoptic_maskrcnn/tasks/panoptic_deeplab.py
...beta/projects/panoptic_maskrcnn/tasks/panoptic_deeplab.py
+1
-16
No files found.
official/vision/beta/projects/panoptic_maskrcnn/tasks/panoptic_deeplab.py
View file @
7189e614
...
@@ -142,21 +142,6 @@ class PanopticDeeplabTask(base_task.Task):
...
@@ -142,21 +142,6 @@ class PanopticDeeplabTask(base_task.Task):
instance_center_offset_loss_fn
=
panoptic_deeplab_losses
.
CenterOffsetLoss
(
instance_center_offset_loss_fn
=
panoptic_deeplab_losses
.
CenterOffsetLoss
(
use_groundtruth_dimension
=
loss_config
.
use_groundtruth_dimension
)
use_groundtruth_dimension
=
loss_config
.
use_groundtruth_dimension
)
# outputs = {
# 'segmentation_outputs': segmentation_outputs,
# 'instance_centers_heatmap':
# instance_outputs['instance_centers_heatmap'],
# 'instance_centers_offset':
# instance_outputs['instance_centers_offset'],
# }
# labels = {
# 'category_mask': category_mask,
# 'instance_mask': instance_mask,
# 'instance_centers_heatmap': instance_centers_heatmap,
# 'instance_centers_offset': instance_centers_offset,
# 'things_mask': things_mask
# }
segmentation_loss
=
segmentation_loss_fn
(
segmentation_loss
=
segmentation_loss_fn
(
model_outputs
[
'segmentation_outputs'
],
model_outputs
[
'segmentation_outputs'
],
labels
[
'category_mask'
])
labels
[
'category_mask'
])
...
...
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