瀏覽代碼
Update downloads.py current release (#7541)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
modifyDataloader
Powercube7
GitHub
2 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有
1 個檔案被更改,包括
1 行新增 和
1 行删除
-
utils/downloads.py
|
|
@@ -69,7 +69,7 @@ def attempt_download(file, repo='ultralytics/yolov5'): # from utils.downloads i |
|
|
|
try: |
|
|
|
tag = subprocess.check_output('git tag', shell=True, stderr=subprocess.STDOUT).decode().split()[-1] |
|
|
|
except Exception: |
|
|
|
tag = 'v6.0' # current release |
|
|
|
tag = 'v6.1' # current release |
|
|
|
|
|
|
|
if name in assets: |
|
|
|
safe_download( |