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:
parent
7cb36d64b2
commit
3a4b65c347
4 changed files with 11 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue