We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dc525a commit 7de35cfCopy full SHA for 7de35cf
official/vision/serving/detection.py
@@ -203,5 +203,6 @@ def serve(self, images: tf.Tensor):
203
if 'detection_masks' in detections.keys():
204
final_outputs['detection_masks'] = detections['detection_masks']
205
206
- final_outputs.update({'image_info': image_info})
+ if self.params.task.model.detection_generator.nms_version != 'tflite':
207
+ final_outputs.update({'image_info': image_info})
208
return final_outputs
0 commit comments