Skip to content
Back to skills

Data And Config

ASecurity

"Routes CULane and TuSimple dataset preparation, config overrides,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolsapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill data-and-config --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data And Config?

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

Security grade badge for Data And Config
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-and-config-ef9c6481/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-and-config-ef9c6481)

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: data-and-config
description: "Routes CULane and TuSimple dataset preparation, config overrides,
  and data-layout checks for Ultra-Fast-Lane-Detection."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# data-and-config

Use this sub-skill when a task is about the lane-detection dataset layout, config files, TuSimple annotation conversion, or command-line overrides for the repo's training and evaluation scripts.

## Read this when

- You need to explain or fix `data_root`, `log_path`, `finetune`, `resume`, `test_model`, or `test_work_dir`.
- You need to convert TuSimple JSON annotations into segmentation masks and list files.
- You need to validate whether a CULane or TuSimple directory is ready for training or evaluation.
- You need to pick the correct row anchors or `griding_num` for a dataset family.

## What this sub-skill owns

- Dataset root layout and file naming.
- Config file defaults and command-line overrides.
- TuSimple conversion from JSON labels to segmentation masks.
- The dataset classes and loaders used by training and evaluation.
- Common data-layout and config mistakes.

## What it does not own

- Training loop details, optimizers, and checkpoint lifecycle: see `training`.
- Evaluation metrics, demo output files, and score formatting: see `evaluation-and-visualization`.
- TorchScript export or speed benchmarking: see `export-and-speed`.

## Start here

- Read `references/configuration.md` for the repo's config defaults and override patterns.
- Read `references/data-formats.md` for the CULane and TuSimple directory layouts and expected list files.
- Read `references/api-reference.md` when you need exact function/class signatures.
- Run `scripts/validate_dataset_layout.py` when the user only wants to know whether a dataset root is ready.
- Run `scripts/convert_tusimple_safe.py` when TuSimple masks and list files must be generated.

## Typical flow

1. Identify the dataset family: CULane or TuSimple.
2. Check the dataset root layout with the bundled validator.
3. Load the appropriate config and override only the values that differ from the user's environment.
4. Convert TuSimple labels when the segmentation masks or list files are missing.
5. Hand the prepared layout to `training` or `evaluation-and-visualization`.

## Caution points

- The repo's source scripts assume CULane and TuSimple paths are already mounted or unpacked correctly.
- TuSimple conversion writes `train_gt.txt`, `test.txt`, and segmentation PNGs into the dataset root.
- The loaders expect the dataset roots and list files to match the documented file names exactly.
- The repo uses a custom `Config` loader rather than a package-style install-time config object.

## Reference and script links

- `references/configuration.md` for override examples and the most useful config fields.
- `references/data-formats.md` for folder layouts, row anchors, and dataset outputs.
- `references/api-reference.md` for verified signatures.
- `references/troubleshooting.md` for path, layout, and conversion errors.
- `scripts/convert_tusimple_safe.py` to generate TuSimple segmentation masks and lists.
- `scripts/validate_dataset_layout.py` to check dataset roots without modifying them.

Files in this skill

  • SKILL.md3.2 KB
  • references/api-reference.md1.8 KB
  • references/configuration.md2 KB
  • references/data-formats.md2.2 KB
  • references/troubleshooting.md2.5 KB
  • scripts/convert_tusimple_safe.py6.2 KB
  • scripts/validate_dataset_layout.py2.3 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.