Absolute '/content/sample_data' (#5922)

This commit is contained in:
Glenn Jocher 2021-12-08 17:31:31 +01:00 committed by GitHub
parent a3d5f1d3e3
commit c77a5a84e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ def notebook_init(verbose=True):
from IPython import display # to display images and clear console output
if is_colab():
shutil.rmtree('sample_data', ignore_errors=True) # remove colab /sample_data directory
shutil.rmtree('/content/sample_data', ignore_errors=True) # remove colab /sample_data directory
if verbose:
# System info