From 9af3e69b1a2dbb828fbe7729b84ab109ba6d8d5d Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 5 Apr 2023 19:04:32 +0200 Subject: [PATCH] `ultralytics 8.0.65` HUB COCO128 fix (#1848) --- ultralytics/__init__.py | 2 +- ultralytics/yolo/data/utils.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ultralytics/__init__.py b/ultralytics/__init__.py index 35d3cb6..1fb443f 100644 --- a/ultralytics/__init__.py +++ b/ultralytics/__init__.py @@ -1,6 +1,6 @@ # Ultralytics YOLO 🚀, GPL-3.0 license -__version__ = '8.0.64' +__version__ = '8.0.65' from ultralytics.hub import start from ultralytics.yolo.engine.model import YOLO diff --git a/ultralytics/yolo/data/utils.py b/ultralytics/yolo/data/utils.py index d0f6f4b..98e0ed8 100644 --- a/ultralytics/yolo/data/utils.py +++ b/ultralytics/yolo/data/utils.py @@ -241,7 +241,8 @@ def check_det_dataset(dataset, autodownload=True): if val: val = [Path(x).resolve() for x in (val if isinstance(val, list) else [val])] # val path if not all(x.exists() for x in val): - m = f"\nDataset '{dataset}' images not found ⚠️, missing paths %s" % [str(x) for x in val if not x.exists()] + name = str(dataset).split('?')[0] # dataset name with URL auth stripped + m = f"\nDataset '{name}' images not found ⚠️, missing paths %s" % [str(x) for x in val if not x.exists()] if s and autodownload: LOGGER.warning(m) else: