Spaces:
Running
on
T4
Running
on
T4
Commit
•
e38752e
1
Parent(s):
8e0c0f6
index
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -68,7 +68,7 @@ class YOLOv10:
|
|
68 |
return [], [], []
|
69 |
|
70 |
# Get the class with the highest confidence
|
71 |
-
class_ids =
|
72 |
|
73 |
# Get bounding boxes for each object
|
74 |
boxes = self.extract_boxes(predictions)
|
|
|
68 |
return [], [], []
|
69 |
|
70 |
# Get the class with the highest confidence
|
71 |
+
class_ids = predictions[:, 5].astype(int)
|
72 |
|
73 |
# Get bounding boxes for each object
|
74 |
boxes = self.extract_boxes(predictions)
|