Skip to content

Commit

Permalink
Update google_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored and Borda committed Aug 2, 2020
1 parent 25ef3ac commit 0c1a5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yolo5/utils/google_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def attempt_download(weights):

if not (r == 0 and os.path.exists(weights) and os.path.getsize(weights) > 1E6): # weights exist and > 1MB
os.remove(weights) if os.path.exists(weights) else None # remove partial downloads
s = "curl -L -o %s 'storage.googleapis.com/ultralytics/yolo5/ckpt/%s'" % (weights, file)
s = "curl -L -o %s 'storage.googleapis.com/ultralytics/yolov5/ckpt/%s'" % (weights, file)
r = os.system(s) # execute, capture return values

# Error check
Expand Down

0 comments on commit 0c1a5cc

Please sign in to comment.