bharath5673 / StrongSORT-YOLO

Real-time multi-camera multi-object tracker using (YOLOv5, YOLOv7,YOLOv8) and StrongSORT with OSNet
285 stars 75 forks source link

SyntaxError #6

Open P-Pan089 opened 2 years ago

P-Pan089 commented 2 years ago

Hello, when i want to run with python track_v7.py --source 0 --yolo-weights weights/yolov7-tiny.pt --img 640

I get the following Error:

File "track_v7.py", line 209 s += f"{n} {names[int(c)]}{'s' * (n > 1)}, " # add to string ^ SyntaxError: invalid syntax

trung-nguyen-code commented 2 years ago

if you use colab or jupyter notebook, perhaps you forgot the "!" before "python". Try again.

Elhadji411 commented 7 months ago

I am not able to use thé camera as source with track_v7.py i got. The list of index out of range curr_frame[i] = im0 error.can someone fixe this 🙏