From f616dc5af217a7193d80b79e119d7a40798750ad Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 18 Jun 2023 15:44:56 +0200 Subject: [PATCH] Uninstall `wandb` from notebook environments (#11729) 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