Quan Lin commited on
Commit
66744a0
·
unverified ·
1 Parent(s): 06bdd39

Update utils/google_utils.py (#733)

Browse files

To download weights from v3.0 instead of v2.0

Files changed (1) hide show
  1. utils/google_utils.py +1 -1
utils/google_utils.py CHANGED
@@ -28,7 +28,7 @@ def attempt_download(weights):
28
  # return
29
 
30
  try: # GitHub
31
- url = 'https://github.com/ultralytics/yolov5/releases/download/v2.0/' + file
32
  print('Downloading %s to %s...' % (url, weights))
33
  if platform.system() == 'Darwin': # avoid MacOS python requests certificate error
34
  r = os.system('curl -L %s -o %s' % (url, weights))
 
28
  # return
29
 
30
  try: # GitHub
31
+ url = 'https://github.com/ultralytics/yolov5/releases/download/v3.0/' + file
32
  print('Downloading %s to %s...' % (url, weights))
33
  if platform.system() == 'Darwin': # avoid MacOS python requests certificate error
34
  r = os.system('curl -L %s -o %s' % (url, weights))