Download src/superpoint_pruning/paths.py from PrunaAI/PrunaSuperPoint: direct link, hf CLI and curl.
- Browser
- Download file 477 Bytes
-
https://huggingface.co/PrunaAI/PrunaSuperPoint/resolve/refs%2Fpr%2F1/src/superpoint_pruning/paths.py
- Command line
-
hf download hf://PrunaAI/PrunaSuperPoint@refs/pr/1/src/superpoint_pruning/paths.py
-
curl -L -o paths.py https://huggingface.co/PrunaAI/PrunaSuperPoint/resolve/refs%2Fpr%2F1/src/superpoint_pruning/paths.py
477 Bytes
| from pathlib import Path | |
| PACKAGE_ROOT = Path(__file__).resolve().parent | |
| DATA_ROOT = PACKAGE_ROOT / "distillation" / "data" | |
| DEFAULT_CONFIG_PATH = PACKAGE_ROOT / "distillation" / "base_config.yaml" | |
| DEFAULT_WEIGHTS_PATH = PACKAGE_ROOT / "weights" / "superpoint_v6_from_tf.pth" | |
| DEFAULT_DATASET_NAME = "indoor_forward_3_snapdragon_with_gt" | |
| DEFAULT_IMAGE_DIR = DATA_ROOT / "datasets" / DEFAULT_DATASET_NAME / "img" | |
| DEFAULT_TRAINING_IDS = DATA_ROOT / "gt_id_file_train_base_250.txt" | |