This commit is contained in:
Glenn Jocher 2019-11-27 23:31:25 -10:00
parent 340e0371f8
commit bccff3bfc1
1 changed files with 2 additions and 0 deletions

View File

@ -445,6 +445,8 @@ def attempt_download(weights):
gdrive_download(id='1Bw0kCpplxUqyRYAJr9RY9SGnOJbo9nEj', name=weights) gdrive_download(id='1Bw0kCpplxUqyRYAJr9RY9SGnOJbo9nEj', name=weights)
elif file == 'ultralytics49.pt': elif file == 'ultralytics49.pt':
gdrive_download(id='158g62Vs14E3aj7oPVPuEnNZMKFNgGyNq', name=weights) gdrive_download(id='158g62Vs14E3aj7oPVPuEnNZMKFNgGyNq', name=weights)
elif file == 'ultralytics68.pt':
gdrive_download(id='1Jm8kqnMdMGUUxGo8zMFZMJ0eaPwLkxSG', name=weights)
else: else:
try: # download from pjreddie.com try: # download from pjreddie.com
url = 'https://pjreddie.com/media/files/' + file url = 'https://pjreddie.com/media/files/' + file