Uppercase model filenames enabled (#2890)

This commit is contained in:
r-blmnr authored and GitHub committed 2021-04-22 16:51:21 +02:00
1 parent 78fd077657
commit 0395e39fd0
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ def gsutil_getsize(url=''):
def attempt_download(file, repo='ultralytics/yolov5'):
# Attempt file download if does not exist
file = Path(str(file).strip().replace("'", '').lower())
file = Path(str(file).strip().replace("'", ''))
if not file.exists():
try: