ultralytics 8.2.99 faster JSONDict settings (#16427)

Signed-off-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-09-22 22:38:35 +02:00 committed by GitHub
parent f5a60c6340
commit 43726d699f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 64 additions and 51 deletions

View file

@ -22,7 +22,7 @@ from ultralytics.utils import (
LOGGER,
NUM_THREADS,
ROOT,
SETTINGS_YAML,
SETTINGS_FILE,
TQDM,
clean_url,
colorstr,
@ -324,7 +324,7 @@ def check_det_dataset(dataset, autodownload=True):
if s and autodownload:
LOGGER.warning(m)
else:
m += f"\nNote dataset download directory is '{DATASETS_DIR}'. You can update this in '{SETTINGS_YAML}'"
m += f"\nNote dataset download directory is '{DATASETS_DIR}'. You can update this in '{SETTINGS_FILE}'"
raise FileNotFoundError(m)
t = time.time()
r = None # success