|
Download colmap_config.md from namor2023/microsplat_benchmarking: direct link, hf CLI and curl.
- Browser
- Download file 2.72 kB
-
https://huggingface.co/datasets/namor2023/microsplat_benchmarking/resolve/main/colmap_config.md
- Command line
-
hf download hf://datasets/namor2023/microsplat_benchmarking/colmap_config.md
-
curl -L -o colmap_config.md https://huggingface.co/datasets/namor2023/microsplat_benchmarking/resolve/main/colmap_config.md
2.72 kB
| # COLMAP Config | |
| Trimmed from `colmap_default.yaml`. Same YAML format as the original β copy the block | |
| below into a `.yaml` file to use it. | |
| Removed on purpose: experiment block, all feature extraction/matching detail except the | |
| GPU switches, all input/output path blocks, Hydra settings. Paths must now be supplied | |
| by the caller (CLI override, or a wrapper config) β this file alone is not runnable. | |
| ```yaml | |
| # ββ Pipeline flags ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| random_seed: 0 | |
| # ββ Stage toggles (can also be driven by pipeline.yaml) βββββββββββββββββββββββ | |
| run: | |
| colmap_feat_extract_match: true | |
| colmap_reconstruct: true | |
| # ββ Feature extraction / matching βββββββββββββββββββββββββββββββββββββββββββββ | |
| # GPU instead of CPU. All other extraction/matching options dropped -> COLMAP defaults. | |
| feat_extract_match: | |
| extraction: | |
| device: cuda | |
| matching: | |
| use_gpu: true | |
| # ββ Reconstruction ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # Priors are loaded as a STARTING POINT only, not frozen: COLMAP refines both poses | |
| # and intrinsics during bundle adjustment and may move them away from the priors. | |
| reconstruction: | |
| mode: automatic # triangulate | automatic | |
| load_prior_poses: true # automatic mode only: seed with known robot poses | |
| load_prior_intrinsics: true # seed with known camera intrinsics | |
| refine_intrinsics: true # keep true -> intrinsics stay free, not locked to prior | |
| mapping_params: | |
| min_focal_length_ratio: 0.1 | |
| max_focal_length_ratio: 10.0 | |
| max_extra_param: .inf | |
| ba_local_max_num_iterations: 30 | |
| ba_local_max_refinements: 3 | |
| ba_global_max_num_iterations: 75 | |
| num_threads: 1 | |
| ``` | |
| ## Notes for whoever runs this | |
| - **`mode: automatic` is required for the pose priors.** `load_prior_poses` is | |
| ignored in `triangulate` mode, per the original comment. Changing `mode` silently | |
| drops the pose priors. | |
| - **"Don't freeze" is `refine_intrinsics: true`.** Setting it to `false` pins intrinsics | |
| to the prior values, which is the opposite of what this config is for. | |
| - **`ba_use_gpu` is deliberately absent** from `mapping_params` β bundle adjustment is left | |
| to whatever the implementation defaults to. Only feature extraction and matching are | |
| pinned to GPU. Do not add a `ba_use_gpu` key back in. | |