How We Can Give Our Computers Eyes and Ears
from pathlib import Path
DATA_DIR = Path("/kaggle/input")
if (DATA_DIR / "ucfai-core-sp20-conv-nets").exists():
DATA_DIR /= "ucfai-core-sp20-conv-nets"
else:
# You'll need to download the data from Kaggle and place it in the `data/`
# directory beside this notebook.
# The data should be here: https://kaggle.com/c/ucfai-core-sp20-conv-nets/data
DATA_DIR = Path("data")