Uppercase model filenames enabled (#2890)

This commit is contained in:
r-blmnr 2021-04-22 16:51:21 +02:00 committed by GitHub
parent 78fd077657
commit 0395e39fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ def gsutil_getsize(url=''):
def attempt_download(file, repo='ultralytics/yolov5'): def attempt_download(file, repo='ultralytics/yolov5'):
# Attempt file download if does not exist # Attempt file download if does not exist
file = Path(str(file).strip().replace("'", '').lower()) file = Path(str(file).strip().replace("'", ''))
if not file.exists(): if not file.exists():
try: try: