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 <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher authored and GitHub committed 2023-06-18 15:44:56 +02:00
1 parent 878d9c8d5b
commit f616dc5af2
1 file changed
+1
+1
View File
@@ -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