Commit 7f9bf1f2 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 346129282
parent 69845d55
...@@ -135,6 +135,6 @@ class DetectionModule(export_base.ExportModule): ...@@ -135,6 +135,6 @@ class DetectionModule(export_base.ExportModule):
'num_detections': detections['num_detections'] 'num_detections': detections['num_detections']
} }
if 'detection_masks' in detections.keys(): if 'detection_masks' in detections.keys():
final_outputs.update('detection_masks', detections['detection_masks']) final_outputs['detection_masks'] = detections['detection_masks']
return final_outputs return final_outputs
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment