Open MrMabulous opened 1 year ago
Because of this repo current has only pre-release, so latest flag is not yet be created.
Seems still like an inconsistency in the GitHub API though, since the release IS listed in https://api.github.com/repos/WongKinYiu/yolov7/releases
for some reason
https://api.github.com/repos/WongKinYiu/yolov7/releases/latest
currently returns
{ "message": "Not Found", "documentation_url": "https://docs.github.com/rest/reference/repos#get-the-latest-release" }
instead of the json of the latest release.
since https://api.github.com/repos/WongKinYiu/yolov7/releases/latest doesn't return the proper json, attempt_download in google_utils.py fails to download pretrained checkpoints by name from the release.
on the other hand, getting the release by tag works fine: https://api.github.com/repos/WongKinYiu/yolov7/releases/tags/v0.1
also the same URL scheme on the yolov5 repository works fine: https://api.github.com/repos/ultralytics/yolov5/releases/latest
Seems to be some github API problem or maybe misconfiguration of the repository?