Skip to content

Commit

Permalink
Fix tab
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxJa4 committed Mar 10, 2024
1 parent fd6ac66 commit 3e569ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/perception/src/vision_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,10 @@ def predict_ultralytics(self, image):
image_np_with_detections = torch.tensor(transposed_image,
dtype=torch.uint8)

if 9 in output[0].boxes.cls:
asyncio.run(self.process_traffic_lights(output[0],
cv_image,
image.header))
if 9 in output[0].boxes.cls:
asyncio.run(self.process_traffic_lights(output[0],
cv_image,
image.header))

c_boxes = torch.stack(c_boxes)
# print(image_np_with_detections.shape, c_boxes.shape, c_labels)
Expand Down

0 comments on commit 3e569ce

Please sign in to comment.