Spaces:
Sleeping
Sleeping
wip
Browse files- box-metrics.py +2 -1
box-metrics.py
CHANGED
|
@@ -154,8 +154,9 @@ 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:]
|
| 161 |
p_box = frame_detections[pair[1]][:4]
|
|
|
|
| 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 |
+
print(pair)
|
| 160 |
iou = pair[2]
|
| 161 |
t_box = frame_labels[pair[0]][1:]
|
| 162 |
p_box = frame_detections[pair[1]][:4]
|