Commit 32439d2e authored by sjentzsch's avatar sjentzsch
Browse files

fixes #2626 as Tuple Parameter Unpacking is removed from Python 3

parent 57014e4c
......@@ -289,8 +289,9 @@ def draw_bounding_boxes_on_image_tensors(images,
agnostic_mode=False,
line_thickness=4)
def draw_boxes((image, boxes, classes, scores)):
def draw_boxes(image_boxes_classes_scores):
"""Draws boxes on image."""
(image, boxes, classes, scores) = image_boxes_classes_scores
image_with_boxes = tf.py_func(visualize_boxes_fn,
[image, boxes, classes, scores], tf.uint8)
return image_with_boxes
......
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