ricky-696 / AICUP_Baseline_BoT-SORT

BoT-SORT: Robust Associations Multi-Pedestrian Tracking
MIT License
162 stars 256 forks source link

Deadlink causing error when downloading yolov7 release .pt #13

Closed ryankert01 closed 4 months ago

ryankert01 commented 4 months ago

Before: https://api.github.com/repos/WongKinYiu/yolov7/releases/latest
which shows:

{
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/releases/releases#get-the-latest-release"
}

This is causing error:

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

Switch it to /tags/v0.1 to solve it! https://api.github.com/repos/WongKinYiu/yolov7/releases/tags/v0.1

ricky-696 commented 4 months ago

Hello~

Thanks for your update and contribution!