Pycocotools best.pt after COCO train (#1616)

* Pycocotools best.pt after COCO train

* cleanup
This commit is contained in:
Glenn Jocher authored and GitHub committed 2020-12-06 14:58:33 +01:00
1 parent d929bb656c
commit 791dadb51c
5 files changed
+117 -15

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ def gsutil_getsize(url=''):
def attempt_download(weights):
# Attempt to download pretrained weights if not found locally
weights = weights.strip().replace("'", '')
weights = str(weights).strip().replace("'", '')
file = Path(weights).name.lower()
msg = weights + ' missing, try downloading from https://github.com/ultralytics/yolov5/releases/'