Skip to content

Commit

Permalink
Uninstall wandb from notebook environments (#11729)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
glenn-jocher committed Jun 18, 2023
1 parent 878d9c8 commit f616dc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f616dc5

Please sign in to comment.