Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

remove old test file

Rory Clear8b586731e60a
diff --git a/test/run_mot.py b/test/run_mot.py
index 14479d5..b59255f 100644
--- a/test/run_mot.py
+++ b/test/run_mot.py
@@ -1,15 +1,13 @@
-from detection.yolov9 import YOLOv9, safe_load, load_state_dict, Sequential, Silence, Conv, RepNCSPELAN4, AConv,\
-ADown, CBLinear, CBFuse, SPPELAN, Upsample, Concat, DDetect, postprocess, fetch
+from detection.yolov9 import YOLOv9, fetch
from utils.helpers import draw_bounding_boxes
import cv2
-from tinygrad import Tensor, TinyJit
+from tinygrad import Tensor
from tinygrad.dtype import dtypes
import numpy as np
from pathlib import Path
import sys
if __name__ == "__main__":
- m = sys.argv[1]
from ocsort_tracker import ocsort
ocs_tracker = ocsort.OCSort(max_age=60)
diff --git a/test/test_mot.py b/test/test_mot.py
deleted file mode 100644
index f6b678b..0000000
--- a/test/test_mot.py
+++ /dev/null
@@ -1,2 +0,0 @@
-import subprocess # todo remove
-for x in ["y"]: subprocess.run(["python", "test/run_mot.py", x])
\ No newline at end of file