Skip to content

Commit

Permalink
Uninstall wandb from notebook environments (ultralytics#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 <[email protected]>
  • Loading branch information
glenn-jocher authored and bandakopi committed Jul 20, 2023
1 parent bf73e08 commit 09a15b0
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 09a15b0

Please sign in to comment.