Download data/data_utils/data_path.py from introvoyz045/CheXWorld: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/datasets/introvoyz045/CheXWorld/resolve/main/data/data_utils/data_path.py
- Command line
-
hf download hf://datasets/introvoyz045/CheXWorld/data/data_utils/data_path.py
-
curl -L -o data_path.py https://huggingface.co/datasets/introvoyz045/CheXWorld/resolve/main/data/data_utils/data_path.py
217 Bytes
| import os | |
| def get_dataset_path(name): | |
| for path in [ | |
| f'/path/to/data/root1', | |
| f'/path/to/data/root2', | |
| f'/path/to/data/root3', | |
| ]: | |
| if os.path.exists(path): | |
| return path |