Spaces:
Runtime error
Runtime error
Commit ·
be75c8f
1
Parent(s): d265127
Update associative.py
Browse files
lib/fish_eye/associative.py
CHANGED
|
@@ -222,6 +222,7 @@ class Associate(object):
|
|
| 222 |
high_matched, unmatched_high_dets, unmatched_trk_ids = associate_detections_to_trackers(high_dets, trks, self.iou_threshold)
|
| 223 |
|
| 224 |
# update matched trackers with assigned detections
|
|
|
|
| 225 |
for m in high_matched:
|
| 226 |
self.trackers[m[1]].update(high_dets[m[0], :])
|
| 227 |
|
|
@@ -229,6 +230,7 @@ class Associate(object):
|
|
| 229 |
|
| 230 |
low_matched, unmatched_low_dets, unmatched_trk_ids = associate_detections_to_trackers(low_dets, trks[unmatched_trk_ids], self.iou_threshold)
|
| 231 |
|
|
|
|
| 232 |
for m in low_matched:
|
| 233 |
self.trackers[m[1]].update(low_dets[m[0], :])
|
| 234 |
|
|
|
|
| 222 |
high_matched, unmatched_high_dets, unmatched_trk_ids = associate_detections_to_trackers(high_dets, trks, self.iou_threshold)
|
| 223 |
|
| 224 |
# update matched trackers with assigned detections
|
| 225 |
+
print("high", high_matched)
|
| 226 |
for m in high_matched:
|
| 227 |
self.trackers[m[1]].update(high_dets[m[0], :])
|
| 228 |
|
|
|
|
| 230 |
|
| 231 |
low_matched, unmatched_low_dets, unmatched_trk_ids = associate_detections_to_trackers(low_dets, trks[unmatched_trk_ids], self.iou_threshold)
|
| 232 |
|
| 233 |
+
print("low", low_matched)
|
| 234 |
for m in low_matched:
|
| 235 |
self.trackers[m[1]].update(low_dets[m[0], :])
|
| 236 |
|