Download path_utils.py from Ashutosh1975270/vae-mnist-generative: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/spaces/Ashutosh1975270/vae-mnist-generative/resolve/main/path_utils.py
- Command line
-
hf download hf://spaces/Ashutosh1975270/vae-mnist-generative/path_utils.py
-
curl -L -o path_utils.py https://huggingface.co/spaces/Ashutosh1975270/vae-mnist-generative/resolve/main/path_utils.py
371 Bytes
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parent | |
| DATA_RAW = ROOT / "data" / "raw" | |
| DATA_PROCESSED = ROOT / "data" / "processed" | |
| DATA_ARTIFACTS = ROOT / "data" / "artifacts" | |
| MODELS = ROOT / "models" | |
| CHARTS = ROOT / "charts" | |
| # Folders should be pre-created in the Docker image to avoid runtime PermissionErrors | |
| # No runtime mkdir here for production safety | |