From 66744a0df1935f94090bbaf632f4f070051f5502 Mon Sep 17 00:00:00 2001 From: Quan Lin <36973354+jacklinquan@users.noreply.github.com> Date: Fri, 14 Aug 2020 11:44:14 +1000 Subject: [PATCH] Update utils/google_utils.py (#733) To download weights from v3.0 instead of v2.0 --- utils/google_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/google_utils.py b/utils/google_utils.py index ff83f5f..5740ece 100644 --- a/utils/google_utils.py +++ b/utils/google_utils.py @@ -28,7 +28,7 @@ def attempt_download(weights): # return 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)) if platform.system() == 'Darwin': # avoid MacOS python requests certificate error r = os.system('curl -L %s -o %s' % (url, weights))