Release KITTI-C2L v1.0.0: documented self-contained benchmark, loader and baselines
db613b6 verified Download code/scripts/generate_dataset.py from mcocheteux/KITTI-C2L-Dataset: direct link, hf CLI and curl.
- Browser
- Download file 572 Bytes
-
https://huggingface.co/datasets/mcocheteux/KITTI-C2L-Dataset/resolve/main/code/scripts/generate_dataset.py
- Command line
-
hf download hf://datasets/mcocheteux/KITTI-C2L-Dataset/code/scripts/generate_dataset.py
-
curl -L -o generate_dataset.py https://huggingface.co/datasets/mcocheteux/KITTI-C2L-Dataset/resolve/main/code/scripts/generate_dataset.py
572 Bytes
| #!/usr/bin/env python | |
| """Thin CLI wrapper: `python scripts/generate_dataset.py --kitti-calib-root /path/to/KITTI`. | |
| Equivalent to `kitti-c2l generate ...` once the package is installed; kept | |
| as a standalone script so generation can be run straight from a repo clone | |
| without `pip install -e .` first. | |
| """ | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| sys.path.insert(0, str(Path(__file__).resolve().parent.parent / "src")) | |
| from kitti_c2l.cli import main # noqa: E402 | |
| if __name__ == "__main__": | |
| sys.exit(main(["generate", *sys.argv[1:]])) | |