evaluation-and-mapping
Run and interpret Gaussian-SLAM trajectory, rendering, Replica mesh, global-map, and ScanNet++ novel-view evaluation from a completed checkpoint; verify artifact contracts, preserve partial-stage evidence, and recover common CUDA/Open3D/data failures.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- evaluation-and-mapping
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Run and interpret Gaussian-SLAM trajectory, rendering, Replica mesh, global-map, and ScanNet++ novel-view evaluation from a completed checkpoint; verify artifact contracts, preserve partial-stage evidence, and recover common CUDA/Open3D/data failures.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/api-reference.md6.3 KB
- 参考文档references/outputs-and-metrics.md5.3 KB
- 参考文档references/troubleshooting.md7.4 KB
- 参考文档references/workflows.md5.9 KB
- 脚本scripts/check_cli.py4.0 KB
- 脚本scripts/validate_checkpoint.py4.7 KB
03 SKILL.md 正文
Evaluation and mapping
Use this sub-skill when a Gaussian-SLAM run already has a checkpoint and the
Researcher needs metrics, a Replica reconstruction, or a refined global map.
It covers run_evaluation.py and the Evaluator lifecycle. It does not
train or resume SLAM, download datasets, repair checkpoints, or claim that a
partial metric set is a complete evaluation.
Read the focused reference before acting:
- api-reference.md: public entry points, checkpoint schema, stage behavior, and implementation defaults.
- workflows.md: preflight, command, stage, and recovery procedures.
- outputs-and-metrics.md: artifact and metric interpretation, including dataset gates and units.
- troubleshooting.md: failure diagnosis and safe recovery.
Operating contract
Inputs
Require all of the following before an expensive run:
- A completed or intentionally partial checkpoint directory.
config.yamlin that directory, or an explicit compatible config path.estimated_c2w.ckptand asubmaps/directory containing numbered submap checkpoints. Each submap should containgaussian_paramsandsubmap_keyframesas produced by Gaussian-SLAM.- The dataset named by the config and its ground-truth assets at the paths resolved by that config.
- A CUDA-capable runtime for the
Evaluator: rendering, Replica mesh reconstruction, and global-map merging/refinement all use CUDA-bound model and rasterizer/FAISS code. A CPU-only trajectory helper check is useful support validation, but is not a substitute for a full evaluation.
Treat checkpoint files as untrusted inputs. Do not overwrite, prune, rewrite, move, or repair them unless the user explicitly requests a separate operation. The repository evaluator writes results inside the checkpoint directory; make a copy or select a disposable output tree when preserving the source run matters.
Safe preflight
Run the bundled scripts before importing the repository evaluator:
python skills/disco/gaussian-slam/sub-skills/evaluation-and-mapping/scripts/check_cli.py \
--checkpoint /path/to/checkpoint
python skills/disco/gaussian-slam/sub-skills/evaluation-and-mapping/scripts/validate_checkpoint.py \
--checkpoint /path/to/checkpoint
These scripts are read-only, do not import PyTorch/Open3D, do not access the
network, do not open GUI windows, and do not write a report. They check paths,
configuration text, and the file-level schema only; they cannot prove that a
serialized tensor can be loaded on CUDA. Use --json for machine-readable
output. Fix missing required artifacts before starting run_evaluation.py.
Standard invocation
From the repository root, with the project environment active:
python run_evaluation.py \
--checkpoint_path /path/to/checkpoint \
--config_path /path/to/checkpoint/config.yaml
If --config_path is omitted, the wrapper uses
<checkpoint_path>/config.yaml. The evaluator has no dry-run flag and no
separate output directory option. save_render is false in this wrapper, but
JSON, plots, meshes, and NVS images are still written under the checkpoint.
Do not run the command merely to test --help or schema validity.
Lifecycle and stage interpretation
Evaluator.__init__ loads the merged config, seeds the run, constructs the
configured dataset, fixes device="cuda", reads estimated_c2w.ckpt, and
discovers submaps. It then runs these independent stages:
- Trajectory — compares estimated and ground-truth camera translations, writes raw and Horn-aligned ATE, and plots trajectories.
- Rendering — loads every
*.ckptsubmap and renders its keyframes for PSNR, LPIPS, SSIM, and train-view depth L1. - Reconstruction — only for
dataset_name: replica; integrates rendered RGB-D frames into a mesh and evaluates it against Replica assets. - Global map — merges and deduplicates submap points, refines a Gaussian
map for 10,000 iterations, saves a PLY, and, only for
dataset_name: scannetpp, renders test-split NVS images and reports NVS PSNR to stdout.
Each call in Evaluator.run() is wrapped in its own broad exception handler.
A later stage can therefore succeed after an earlier stage fails. Always
inspect the output files and logs stage by stage; a process that reaches the
end is not proof that all four stages completed. Conversely, constructor
failures happen before those per-stage catches and prevent the run entirely.
Required distinctions
- Reconstruction is explicitly skipped for every non-Replica dataset.
- Global-map creation is attempted for all datasets, but NVS evaluation is
explicitly supported only for ScanNet++ (
dataset_name: scannetpp). depth_L1in the reconstruction result is not the same as renderingdepth_l1_train_view. The former needs Replica ground-truth mesh and unseen points plus headless Open3D; the latter is a rendered training-view average.- Headless Open3D and the
evaluate_3d_reconstructionpackage are required for the full Replica reconstruction path. A CPU trajectory result alone cannot validate those dependencies. - CUDA is required for rendering/global-map paths. Do not silently downgrade them to CPU and report success.
Procedure
- Identify the dataset, scene, checkpoint provenance, and whether preserving the source checkpoint is required.
- Run both read-only preflight scripts and record warnings.
- Check that the configured input dataset and, for Replica reconstruction,
data/Replica-SLAM/cull_replica/<scene>.plyplus<scene>_pc_unseen.npyare present. Do not download missing assets in this sub-skill. - Confirm CUDA, the differential Gaussian rasterizer, FAISS GPU, Open3D, and
evaluate_3d_reconstructionin the intended environment. Use the environment contract in workflows.md. - Run the standard command once. Do not concurrently evaluate the same checkpoint because stages write shared files.
- Record which stage files exist, which stages printed exceptions, and which
metrics are absent or
null. Preserve traceback text for recovery. - Interpret values using outputs-and-metrics.md, retaining dataset gates and implementation caveats.
- If a stage fails, apply the smallest non-mutating recovery in troubleshooting.md. Re-run against a copy if the original output must remain reproducible.
- Report complete, partial, skipped, and unverified stages separately.
Safe scripting rules
Bundled scripts must remain read-only by default. They must not run the expensive evaluator, import heavy CUDA/Open3D modules, open Open3D windows, download weights or datasets, or mutate user checkpoints. Keep review logs and verification cases outside this runtime skill directory.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).