Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

evaluation-and-mapping

БесплатноБез исполняемых скриптовНе проверен

Run and interpret Gaussian-SLAM trajectory, rendering, Replica mesh, global-map, and ScanNet++ novel-view evaluation from a completed checkpoint; verify…

lza6от lza6★ 19 звёзд на GitHub

Об этом скилле

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:

Operating contract

Inputs

Require all of the following before an expensive run:

  1. A completed or intentionally partial checkpoint directory.
  2. config.yaml in that directory, or an explicit compatible config path.
  3. 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.
  4. The dataset named by the config and its ground-truth assets at the paths resolved by that config.
  5. 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:

  1. Trajectory — compares estimated and ground-truth camera translations, writes raw and Horn-aligned ATE, and plots trajectories.
  2. Rendering — loads every *.ckpt submap and renders its keyframes for PSNR, LPIPS, SSIM, and train-view depth L1.
  3. Reconstruction — only for dataset_name: replica; integrates rendered RGB-D frames into a mesh and evaluates it against Replica assets.
  4. 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_L1 in the reconstruction result is not the same as rendering depth_l1_train_view. The former needs Replica ground-truth mesh and unsee
Полный SKILL.md на GitHub

Установить evaluation-and-mapping в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/api-reference.mdreferences/outputs-and-metrics.mdreferences/troubleshooting.mdreferences/workflows.md

FAQ

Что делает скилл 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.

Как установить скилл evaluation-and-mapping?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл evaluation-and-mapping запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить evaluation-and-mapping с