技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
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.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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:
Require all of the following before an expensive run:
config.yaml in that directory, or an explicit compatible config path.estimated_c2w.ckpt and a submaps/ directory containing numbered
submap checkpoints. Each submap should contain gaussian_params and
submap_keyframes as produced by Gaussian-SLAM.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.
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.
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.
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:
*.ckpt submap and renders its keyframes for
PSNR, LPIPS, SSIM, and train-view depth L1.dataset_name: replica; integrates rendered
RGB-D frames into a mesh and evaluates it against Replica assets.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.
dataset_name: scannetpp).depth_L1 in the reconstruction result is not the same as rendering
depth_l1_train_view. The former needs Replica ground-truth mesh and unseen
points plus headless Open3D; the latter is a rendered training-view average.evaluate_3d_reconstruction package are required for
the full Replica reconstruction path. A CPU trajectory result alone cannot
validate those dependencies.data/Replica-SLAM/cull_replica/<scene>.ply plus
<scene>_pc_unseen.npy are present. Do not download missing assets in this
sub-skill.evaluate_3d_reconstruction in the intended environment. Use the
environment contract in workflows.md.null. Preserve traceback text for recovery.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.