`ultralytics 8.0.65` HUB COCO128 fix (#1848)

single_channel
Glenn Jocher 2 years ago committed by GitHub
parent e7a94c79c5
commit 9af3e69b1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,6 @@
# Ultralytics YOLO 🚀, GPL-3.0 license # Ultralytics YOLO 🚀, GPL-3.0 license
__version__ = '8.0.64' __version__ = '8.0.65'
from ultralytics.hub import start from ultralytics.hub import start
from ultralytics.yolo.engine.model import YOLO from ultralytics.yolo.engine.model import YOLO

@ -241,7 +241,8 @@ def check_det_dataset(dataset, autodownload=True):
if val: if val:
val = [Path(x).resolve() for x in (val if isinstance(val, list) else [val])] # val path 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): 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: if s and autodownload:
LOGGER.warning(m) LOGGER.warning(m)
else: else:

Loading…
Cancel
Save