slam-runtime
БесплатноБез исполняемых скриптовНе проверенRun and troubleshoot the CUDA-only Gaussian-SLAM pipeline: validate the environment, construct safe run_slam.py invocations, understand…
от lza6★ 19 звёзд на GitHubОб этом скилле
Gaussian-SLAM runtime
Use this skill when a user wants to execute, configure, reproduce, or recover a
Gaussian-SLAM run from this repository. The entry point is run_slam.py; the
repository's execution path is CUDA-only. Do not offer a CPU fallback for
tracking, mapping, rendering, or evaluation. Dataset acquisition and dataset
file-layout instructions belong to datasets-and-configuration; evaluation
metric internals belong to evaluation-and-mapping.
Input/output contract
Required inputs
- A scene YAML path passed as the positional
config_pathargument. - A config resolving to
dataset_name,data,cam,tracking,mapping,seed, anduse_wandb. A scene config normally inherits a dataset base config and suppliesdata.scene_name,data.input_path, anddata.output_path. - A prepared RGB-D scene and camera metadata accepted by the selected dataset adapter. The dataset's layout is intentionally not specified here; ask the dataset skill for that contract.
- A CUDA-capable PyTorch installation and both compiled extensions:
simple_knn._Candgaussian_rasterizer._C.
Use explicit --input_path and --output_path values for portable runs. The
config loader resolves inherit_from using the path as written, relative to
the process working directory, so launch from the repository root (or use
paths that resolve from the chosen working directory).
Produced artifacts
run_slam.py creates the output directory, saves the effective config.yaml,
then runs tracking/mapping followed by the repository evaluator. Common
artifacts are:
config.yaml: effective merged configuration after CLI overrides;estimated_c2w.ckpt: estimated camera-to-world poses;submaps/000000.ckpt, etc.: checkpoints containing Gaussian parameters and the keyframe IDs belonging to the completed prior submap;mapping_vis/*.jpgand the createdtracking_vis/directory;- evaluator artifacts such as
rendering_metrics.json,reconstruction_metrics.json,ate_aligned.json, PNG summaries, a Replica mesh, and a refined global-map PLY when the corresponding evaluation phase succeeds.
The evaluator catches failures per evaluation phase and prints a traceback, so
an All done.✨ line is not sufficient evidence that every evaluation artifact
exists. Check the expected files and the log. The active final Gaussian model
is not explicitly finalized after the main loop; verify submap completeness
before consuming checkpoints as a final map.
Required preflight
Run these checks before a full scene. They are safe and do not download data, submit jobs, or contact W&B:
nvidia-smi
python - <<'PY'
import torch
print("torch", torch.__version__, "cuda", torch.version.cuda)
assert torch.cuda.is_available(), "Gaussian-SLAM requires CUDA"
print(torch.cuda.get_device_name(0), torch.cuda.get_device_capability(0))
PY
python - <<'PY'
import simple_knn._C
import gaussian_rasterizer._C
print("CUDA extensions import")
PY
python run_slam.py --help
python skills/disco/gaussian-slam/sub-skills/slam-runtime/scripts/check_cli.py \
configs/Replica/room0.yaml
The repository environment specifies Python 3.10, PyTorch 2.1.2 with CUDA
12.1, torchvision 0.16.2, FAISS-GPU, Open3D 0.18.0, and pinned builds of the
two CUDA extensions. Building extensions needs a compatible host compiler; the
README requires exported CC and CXX. A verified inspection environment
passed CUDA allocation and both extension imports on an NVIDIA A100-SXM4-40GB
with compute capability 8.0 (SM80). Treat that as evidence for A100/SM80
compatibility, not as a promise for arbitrary GPUs. Match the PyTorch/CUDA
runtime, host compiler, toolkit, and extension build target to the actual
machine.
GaussianModel imports simple_knn._C.distCUDA2 at module import and uses it
when adding points. src/utils/utils.py imports the custom
gaussian_rasterizer; render settings, tensors, and camera optimization are
also hard-coded to CUDA. Missing either extension, a CPU-only Torch build, or a
visible device mismatch is a prerequisite failure—not something to work around
by changing the device to CPU.
Standard run
From the repository root, start with a small bounded scene/config if one is available, then use the full run:
python run_slam.py configs/<dataset>/<scene>.yaml \
--input_path <scene-input> \
--output_path <run-output>
The process is sequential: it loads and recursively merges YAML inheritance,
updates selected fields from CLI arguments, optionally initializes W&B, seeds
Python/NumPy/PyTorch/CUDA, runs GaussianSLAM.run(), and then constructs an
Evaluator from the saved output config. The first two frames use dataset poses;
subsequent frames go through the configured tracker. Mapping runs on the
configured keyframe cadence and always appends the last frame to the mapping
IDs. Do not infer that --gt_camera changes this flow: the flag is parsed but
is not applied by `update_config_with_ar
Установить slam-runtime в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл slam-runtime?
Run and troubleshoot the CUDA-only Gaussian-SLAM pipeline: validate the environment, construct safe run_slam.py invocations, understand tracking/mapping/submaps and outputs, control seeds and W&B, and prepare non-submitting SLURM plans.
Как установить скилл slam-runtime?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл slam-runtime запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub