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

list index out of range #73

Open
SimonCL17 opened this issue May 11, 2023 · 2 comments
Open

list index out of range #73

SimonCL17 opened this issue May 11, 2023 · 2 comments

Comments

@SimonCL17
Copy link

Hi there,

I have installed the repo and have tried running the following command:

python3 tools/mc_demo_yolov7.py --weights pretrained/yolov7-d6.pt --source ~/Videos/TrainStation.mp4 --fuse-score --agnostic-nms --with-reid

This has left me with the following error:

Traceback (most recent call last):
File "/home/simon/Documents/Tracking/BoT-SORT/yolov7/utils/google_utils.py", line 27, in attempt_download
assets = [x['name'] for x in response['assets']] # release assets
KeyError: 'assets'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "tools/mc_demo_yolov7.py", line 254, in
detect()
File "tools/mc_demo_yolov7.py", line 55, in detect
model = attempt_load(weights, map_location=device) # load FP32 model
File "/home/simon/Documents/Tracking/BoT-SORT/yolov7/models/experimental.py", line 241, in attempt_load
attempt_download(w)
File "/home/simon/Documents/Tracking/BoT-SORT/yolov7/utils/google_utils.py", line 31, in attempt_download
tag = subprocess.check_output('git tag', shell=True).decode().split()[-1]

Please can you advise, am I doing something wrong?

Thanks,

Simon

@BoscoShin
Copy link

i have same problem in experiment with yolov7...

Does anyone know how to solve it

@sonodaatom
Copy link

This issue should be relevant

WongKinYiu/yolov7#940

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