From dcaa6dbc3b8b0ebd00e48aecec534f29f5441e48 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 18 Jun 2023 15:39:14 +0200 Subject: [PATCH] Uninstall W&B that are present in notebooks Resolves unwanted W&B install issues in https://www.kaggle.com/code/ultralytics/yolov8/comments#2306977 Signed-off-by: Glenn Jocher --- utils/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/__init__.py b/utils/__init__.py index bccac42711e6..4687889bfc56 100644 --- a/utils/__init__.py +++ b/utils/__init__.py @@ -61,6 +61,7 @@ def notebook_init(verbose=True): import psutil + os.system('pip uninstall -y wandb') if is_colab(): shutil.rmtree('/content/sample_data', ignore_errors=True) # remove colab /sample_data directory