Spaces:
Runtime error
Runtime error
Commit
·
fd90729
1
Parent(s):
6697470
associative
Browse files- inference.py +0 -2
- lib/fish_eye/associative.py +2 -2
inference.py
CHANGED
@@ -335,8 +335,6 @@ def do_associative_tracking(low_preds, high_preds, image_meter_width, image_mete
|
|
335 |
if (gp): gp(0, "Tracking...")
|
336 |
|
337 |
|
338 |
-
|
339 |
-
|
340 |
# Initialize tracker
|
341 |
clip_info = {
|
342 |
'start_frame': 0,
|
|
|
335 |
if (gp): gp(0, "Tracking...")
|
336 |
|
337 |
|
|
|
|
|
338 |
# Initialize tracker
|
339 |
clip_info = {
|
340 |
'start_frame': 0,
|
lib/fish_eye/associative.py
CHANGED
@@ -229,8 +229,8 @@ 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 |
|
235 |
# create and initialise new trackers for unmatched detections
|
236 |
for i in unmatched_high_dets:
|
|
|
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 |
|
235 |
# create and initialise new trackers for unmatched detections
|
236 |
for i in unmatched_high_dets:
|