r-blmnr
commited on
Uppercase model filenames enabled (#2890)
Browse files- utils/google_utils.py +1 -1
utils/google_utils.py
CHANGED
@@ -18,7 +18,7 @@ def gsutil_getsize(url=''):
|
|
18 |
|
19 |
def attempt_download(file, repo='ultralytics/yolov5'):
|
20 |
# Attempt file download if does not exist
|
21 |
-
file = Path(str(file).strip().replace("'", '')
|
22 |
|
23 |
if not file.exists():
|
24 |
try:
|
|
|
18 |
|
19 |
def attempt_download(file, repo='ultralytics/yolov5'):
|
20 |
# Attempt file download if does not exist
|
21 |
+
file = Path(str(file).strip().replace("'", ''))
|
22 |
|
23 |
if not file.exists():
|
24 |
try:
|