Spaces:
Sleeping
Sleeping
wip
Browse files- box-metrics.py +1 -1
box-metrics.py
CHANGED
|
@@ -154,7 +154,7 @@ class box_metrics(evaluate.Metric):
|
|
| 154 |
labels_i, detections_i, ious_v = matches.transpose()
|
| 155 |
labels_i = labels_i.astype(int)
|
| 156 |
detections_i = detections_i.astype(int)
|
| 157 |
-
|
| 158 |
for pair in zip(labels_i, detections_i, ious_v):
|
| 159 |
iou = pair[2]
|
| 160 |
t_box = frame_labels[pair[0]][1:]
|
|
|
|
| 154 |
labels_i, detections_i, ious_v = matches.transpose()
|
| 155 |
labels_i = labels_i.astype(int)
|
| 156 |
detections_i = detections_i.astype(int)
|
| 157 |
+
print(len(labels_i))
|
| 158 |
for pair in zip(labels_i, detections_i, ious_v):
|
| 159 |
iou = pair[2]
|
| 160 |
t_box = frame_labels[pair[0]][1:]
|