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
32439d2e
"vscode:/vscode.git/clone" did not exist on "4c5a50122e4339a0d4b07a63fa7a2a7cb1a8931c"
Commit
32439d2e
authored
Oct 29, 2017
by
sjentzsch
Browse files
fixes #2626 as Tuple Parameter Unpacking is removed from Python 3
parent
57014e4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
research/object_detection/utils/visualization_utils.py
research/object_detection/utils/visualization_utils.py
+2
-1
No files found.
research/object_detection/utils/visualization_utils.py
View file @
32439d2e
...
...
@@ -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
...
...
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