Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxJa4 committed Nov 18, 2023
1 parent f59ea5d commit ffde9ac
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions doc/06_perception/experiments/model_evaluation/pylot.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@ def get_category_index(label_file):
label_id_offset = -1
image_np_with_detections = image_np.copy()

# Use keypoints if available in detections
keypoints, keypoint_scores = None, None
if 'boxes' in result:
keypoints = result['boxes']
keypoint_scores = result['scores'][0]

viz_utils.visualize_boxes_and_labels_on_image_array(
image_np_with_detections[0],
result['boxes'][0],
Expand Down

0 comments on commit ffde9ac

Please sign in to comment.