Skip to content
Back to skills

Training

ASecurity

"Guides gaussian-splatting train.py optimization, feature flags,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolspythonbashdebuggingbackend

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill training --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Training
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-25219c16/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-25219c16)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: training
description: "Guides gaussian-splatting train.py optimization, feature flags,
  checkpoints, outputs, and training troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Training

Use this sub-skill when the task is to train, resume, configure, or debug the Python optimizer that creates a 3D Gaussian model from a prepared scene.

## Read First

- Read [references/training-workflows.md](references/training-workflows.md) for end-to-end training recipes, feature combinations, output artifacts, and resume flow.
- Read [references/cli-reference.md](references/cli-reference.md) for verified `train.py` parameter groups and defaults.
- Read [references/troubleshooting.md](references/troubleshooting.md) for CUDA/OOM/data/viewer/debug/feature failures.
- Use [scripts/build_train_command.py](scripts/build_train_command.py) to construct a command safely. It prints a command and never runs training.

## Preconditions

Before training:

1. Use [../setup-and-backends/SKILL.md](../setup-and-backends/SKILL.md) to prove CUDA, PyTorch, and custom extensions are available.
2. Use [../data-preparation/SKILL.md](../data-preparation/SKILL.md) to validate the scene layout.
3. Decide whether the network viewer should attach during training. Add `--disable_viewer` for headless/non-interactive runs.
4. Decide whether the training is for all images, evaluation split (`--eval`), depth regularization (`-d/--depths`), exposure compensation, antialiasing, or accelerated Sparse Adam.

## Primary Commands

Standard training:

```bash
python train.py -s <scene> -m <model-output> --disable_viewer
```

Evaluation split:

```bash
python train.py -s <scene> -m <model-output> --eval --disable_viewer
```

Short debugging or smoke-style run:

```bash
python train.py -s <scene> -m <model-output> --iterations 100 --test_iterations -1 --save_iterations 100 --disable_viewer --quiet
```

After training, route render/metrics tasks to [../rendering-evaluation/SKILL.md](../rendering-evaluation/SKILL.md).

## Decision Points

- Use `--data_device cpu` when large/high-resolution image tensors consume too much VRAM; training may be slower.
- Use `--resolution 1` to keep original input resolution; otherwise images wider than about 1.6K are automatically downscaled.
- Use `--checkpoint_iterations <N ...>` to save checkpoints and `--start_checkpoint <path>` to resume.
- Use the exposure preset in the workflow reference only when exposure varies and the evaluation methodology change is acceptable.
- Use `--optimizer_type sparse_adam` only after installing the accelerated rasterizer variant.

## Output Contract

A successful training run creates a model directory containing `cfg_args`, `cameras.json`, `input.ply`, `point_cloud/iteration_<N>/point_cloud.ply`, optional `chkpnt<N>.pth`, and `exposure.json`. Use the rendering-evaluation validator if a later stage cannot find these files.

Files in this skill

  • SKILL.md2.9 KB
  • references/cli-reference.md4.1 KB
  • references/training-workflows.md3.4 KB
  • references/troubleshooting.md2.8 KB
  • scripts/build_train_command.py4.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.