Unverified 提交 66744a0d authored 作者: Quan Lin's avatar Quan Lin 提交者: GitHub

Update utils/google_utils.py (#733)

To download weights from v3.0 instead of v2.0
上级 06bdd395
...@@ -28,7 +28,7 @@ def attempt_download(weights): ...@@ -28,7 +28,7 @@ def attempt_download(weights):
# return # return
try: # GitHub try: # GitHub
url = 'https://github.com/ultralytics/yolov5/releases/download/v2.0/' + file url = 'https://github.com/ultralytics/yolov5/releases/download/v3.0/' + file
print('Downloading %s to %s...' % (url, weights)) print('Downloading %s to %s...' % (url, weights))
if platform.system() == 'Darwin': # avoid MacOS python requests certificate error if platform.system() == 'Darwin': # avoid MacOS python requests certificate error
r = os.system('curl -L %s -o %s' % (url, weights)) r = os.system('curl -L %s -o %s' % (url, weights))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论