ultralytics 8.3.27 HUB timed training fix (#17298)

Signed-off-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-11-01 01:42:51 +01:00 committed by GitHub
parent 7cb36d64b2
commit 3a4b65c347
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 12 deletions

View file

@ -23,7 +23,6 @@ from ultralytics.utils import (
AUTOINSTALL,
IS_COLAB,
IS_GIT_DIR,
IS_JUPYTER,
IS_KAGGLE,
IS_PIP_PACKAGE,
LINUX,
@ -569,11 +568,8 @@ def check_yolo(verbose=True, device=""):
from ultralytics.utils.torch_utils import select_device
if IS_JUPYTER:
if check_requirements("wandb", install=False):
os.system("pip uninstall -y wandb") # uninstall wandb: unwanted account creation prompt with infinite hang
if IS_COLAB:
shutil.rmtree("sample_data", ignore_errors=True) # remove colab /sample_data directory
if IS_COLAB:
shutil.rmtree("sample_data", ignore_errors=True) # remove colab /sample_data directory
if verbose:
# System info