Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 3, 2022
1 parent b27fcb2 commit 5b79fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yolort/utils/visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def overlay_instances(
# Re-order overlapped instances in descending order.
boxes = boxes[sorted_idxs] if boxes is not None else None
labels = [labels[k] for k in sorted_idxs] if labels is not None else None
colors = [colors[k] for k in sorted_idxs ] if colors is not None else None
colors = [colors[k] for k in sorted_idxs] if colors is not None else None

for i in range(num_instances):
color = colors[i]
Expand Down

0 comments on commit 5b79fd7

Please sign in to comment.