Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError #6

Open
P-Pan089 opened this issue Aug 31, 2022 · 2 comments
Open

SyntaxError #6

P-Pan089 opened this issue Aug 31, 2022 · 2 comments

Comments

@P-Pan089
Copy link

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
Copy link

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

@Elhadji411
Copy link

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 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants