Uppercase model filenames enabled (#2890)
This commit is contained in:
parent
78fd077657
commit
0395e39fd0
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue