界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

gaussian-splatting

gaussian-splatting

【数据与研究】Routes official 3D Gaussian Splatting setup, data preparation, training, rendering, evaluation, and viewer workflows.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: gaussian-splatting description: "Routes official 3D Gaussian Splatting setup, data preparation, training, rendering, evaluation, and viewer workflows." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

Gaussian Splatting Repo Skill

Use this repo skill when the user needs to operate or troubleshoot the official GraphDeco/Inria gaussian-splatting implementation for 3D Gaussian Splatting: CUDA setup, COLMAP/Blender scene preparation, optimizer training, offline rendering/metrics, paper-style evaluation, or SIBR viewers.

Start Here

Route Map

User taskRead
Install the repo, initialize submodules, build CUDA extensions, check PyTorch/CUDA, debug importssub-skills/setup-and-backends/SKILL.md
Prepare images, validate COLMAP/Blender scene layouts, run conversion, create depth regularization filessub-skills/data-preparation/SKILL.md
Build or debug train.py commands, choose feature flags, resume checkpoints, handle OOM/debug/viewer training issuessub-skills/training/SKILL.md
Run or diagnose render.py, metrics.py, pretrained model evaluation, full_eval.py, output/result JSON layoutssub-skills/rendering-evaluation/SKILL.md
Build/run SIBR remote or real-time viewers, connect to optimizer, use top view, debug OpenGL/CUDA interopsub-skills/viewers/SKILL.md

Minimal Preconditions

The core Python workflows require:

  • a CUDA-capable NVIDIA GPU for real train/render/metrics execution,
  • PyTorch with CUDA support,
  • built/importable diff_gaussian_rasterization and simple_knn extensions,
  • a prepared COLMAP or Blender/NeRF synthetic scene for training,
  • a trained model directory for rendering/evaluation.

A CPU-only environment can run validators and command builders, but it does not verify the core optimizer or renderer.

Safe Preflight

For an editable checkout or source tree, run:

python scripts/check_3dgs_environment.py --repo-root <checkout> --require-cuda --require-extensions --check-tools

If this fails on CUDA or extensions, route to setup/backends before training or rendering. Missing colmap, magick, or SIBR binaries matters only for conversion or viewer tasks.

Common Workflow Chain

  1. Setup/backend: prove CUDA and extensions.
  2. Data preparation: validate <scene> and optional depth files.
  3. Training: run train.py -s <scene> -m <model> --eval --disable_viewer or a tailored variant.
  4. Rendering/evaluation: run render.py -m <model> and metrics.py -m <model>.
  5. Viewer: run a SIBR real-time viewer with -m <model> or connect a remote viewer to an optimizer.

Boundaries and Warnings

  • Do not run full training, full evaluation, dataset downloads, pretrained model downloads, COLMAP conversion, or SIBR builds as implicit smoke checks; ask for explicit compute/time/network approval.
  • Do not tell users that CPU validation proves CUDA training/rendering.
  • Do not rely on original repository docs or scripts at runtime when a bundled reference/script covers the needed operation.
  • Respect the repository's non-commercial research/evaluation license terms.
我的收藏