Spaces:
Runtime error
Runtime error
Commit
·
89772af
1
Parent(s):
ea3fb59
Update inference.py
Browse files- inference.py +3 -0
inference.py
CHANGED
@@ -334,6 +334,8 @@ def do_associative_tracking(raw_detections, image_meter_width, image_meter_heigh
|
|
334 |
|
335 |
if (gp): gp(0, "Tracking...")
|
336 |
|
|
|
|
|
337 |
low_dets = []
|
338 |
high_dets = []
|
339 |
for batch in raw_detections:
|
@@ -348,6 +350,7 @@ def do_associative_tracking(raw_detections, image_meter_width, image_meter_heigh
|
|
348 |
low_dets.append(low_frame)
|
349 |
high_dets.append(high_frame)
|
350 |
|
|
|
351 |
|
352 |
# Initialize tracker
|
353 |
clip_info = {
|
|
|
334 |
|
335 |
if (gp): gp(0, "Tracking...")
|
336 |
|
337 |
+
print("Preprocessing")
|
338 |
+
|
339 |
low_dets = []
|
340 |
high_dets = []
|
341 |
for batch in raw_detections:
|
|
|
350 |
low_dets.append(low_frame)
|
351 |
high_dets.append(high_frame)
|
352 |
|
353 |
+
print("Preprocess done")
|
354 |
|
355 |
# Initialize tracker
|
356 |
clip_info = {
|