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:
1 parent
878d9c8d5b
commit
f616dc5af2
1 file changed
+1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user