Skip to content
Back to skills

Training

ASecurity

Train LaneNet on prepared data, manage checkpoints, and debug training runs.

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
dataapi

Works with

  • api

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-493f31d9/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-493f31d9)

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: "Train LaneNet on prepared data, manage checkpoints, and debug training runs."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# LaneNet Training

Use this sub-skill when the task is to train or resume LaneNet, choose the config-driven backbone, inspect TensorBoard/checkpoints, or debug why a run produced no snapshots or unstable loss.

## Route here for

- Training on prepared TFRecords from TuSimple or custom lane data.
- Selecting the front end through `MODEL.FRONT_END` (`bisenetv2` default, `vgg` supported).
- Single-GPU vs multi-GPU behavior through `TRAIN.MULTI_GPU.ENABLE`.
- Restore-from-snapshot runs, warm-up/poly learning rate behavior, mIoU summaries, and loss inspection.
- Understanding where snapshots, TensorBoard logs, and training logs are written.

## Route elsewhere

- Raw dataset conversion or TFRecord generation: [data-preparation](../data-preparation/SKILL.md)
- Checkpoint inference, evaluation, and postprocess tuning: [inference-evaluation](../inference-evaluation/SKILL.md)
- Frozen PB or MNN export: [model-export](../model-export/SKILL.md)

## Required context before acting

1. Confirm the prepared data root contains LaneNet TFRecords, especially `tusimple_train.tfrecords` and, for multi-GPU validation, `tusimple_val.tfrecords`.
2. Confirm the runtime is CUDA-capable with TensorFlow 1.15 compatibility. That is the validated training path in this repo.
3. Confirm whether the user wants from-scratch training or restore-from-snapshot behavior.
4. Confirm the backbone and device mode. The current source uses config-driven backbone selection rather than a command-line `--net` flag.
5. Use the bundled wrapper in `scripts/train_lanenet_tusimple.py`; it resolves `REPO_ROOT_PATH` placeholders, checks the training data size, and refuses to start the no-iteration tiny-data trap.

## Key outputs

- Checkpoints under `TRAIN.MODEL_SAVE_DIR/<front_end>_lanenet/`.
- TensorBoard summaries under `TRAIN.TBOARD_SAVE_DIR/<front_end>_lanenet/`.
- Training log file under `LOG.SAVE_DIR/`.
- A copied `model_train_config.json` beside the TensorBoard event files.

## References and wrapper

- [Workflows](references/workflows.md)
- [API reference](references/api-reference.md)
- [Troubleshooting](references/troubleshooting.md)
- [Training wrapper](scripts/train_lanenet_tusimple.py)

Files in this skill

  • SKILL.md2.3 KB
  • references/api-reference.md5.8 KB
  • references/troubleshooting.md6.2 KB
  • references/workflows.md5.6 KB
  • scripts/train_lanenet_tusimple.py13.9 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.