ZQPei / deep_sort_pytorch

MOT using deepsort and yolov3 with pytorch
MIT License
2.83k stars 727 forks source link

assert os.path.isfile(self.video_path), "Path error" #242

Closed TadaasCirk closed 2 years ago

TadaasCirk commented 2 years ago

trying to run deepsort.py and I keep getting VIDEO_PATH error, am I writing the video path wrong? My code: python deepsort.py 'C:/Users/xxx/YOLO/darknet/clips/clip1_0dega.mp4' Error:

Traceback (most recent call last):
  File "deepsort.py", line 171, in <module>
    with VideoTracker(cfg, args, video_path=args.VIDEO_PATH) as vdo_trk:
  File "deepsort.py", line 54, in __enter__
    assert os.path.isfile(self.video_path), "Path error"
AssertionError: Path error