mirror of
https://github.com/ultralytics/yolov5.git
synced 2025-06-03 14:49:29 +08:00
Absolute '/content/sample_data' (#5922)
This commit is contained in:
parent
a3d5f1d3e3
commit
c77a5a84e3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user