Skip to content

Commit

Permalink
ultralytics 8.0.65 HUB COCO128 fix (ultralytics#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored Apr 5, 2023
1 parent e7a94c7 commit 9af3e69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ultralytics/__init__.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion ultralytics/yolo/data/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9af3e69

Please sign in to comment.