data-and-routes
Guides TransFuser CARLA training route and scenario preparation, dataset-layout validation, privileged autopilot collection, safe command construction, and route visualization without launching CARLA or downloading data.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- data-and-routes
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Guides TransFuser CARLA training route and scenario preparation, dataset-layout validation, privileged autopilot collection, safe command construction, and route visualization without launching CARLA or downloading data.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/data-generation.md6.0 KB
- 参考文档references/dataset-layout.md4.9 KB
- 参考文档references/routes-and-scenarios.md6.7 KB
- 参考文档references/troubleshooting.md5.2 KB
03 SKILL.md 正文
TransFuser Data And Routes
Use this sub-skill when a Researcher needs to understand, validate, or prepare TransFuser training routes, scenario annotations, generated samples, or the privileged data-generation agent. Start with the relevant bundled reference; use the scripts for deterministic local checks and command construction.
Route by need
- Existing files or schema: read dataset-layout.md
for sample folders and routes-and-scenarios.md
for XML/JSON validation and route semantics. Run:
python scripts/validate_route_files.py --helpandpython scripts/validate_dataset_layout.py --help. - Generating or visualizing files: read
data-generation.md, then build a plan with
python scripts/build_route_tool_command.py --help. The builder only prints a command/environment plan; it never starts a server, imports CARLA, writes routes, or uses the network. - A failed or incomplete run: read troubleshooting.md, validate inputs before retrying, and preserve the distinction between a safe local check and a CARLA-backed result.
Required operating sequence
- Confirm the town set (
Town01–Town07,Town10HD), scenario set (Scenario1,3,4,7,8,9,10), output roots, and whether the operation is route generation, scenario generation, visualization, or collection. - Validate paths and schemas first. Route XML and scenario JSON can be parsed on CPU without CARLA; route/scenario compatibility is a structural signal, not proof that a CARLA map can interpolate the route.
- Generate scenarios before routes. Start the matching CARLA 0.9.10.1 server and then run the scenario launcher, followed by the route launcher. Never run the bundled command builder as if it were a launcher.
- Keep
PYTHONPATHordered for the CARLA PythonAPI/egg, ScenarioRunner, and leaderboard. Use absolute paths at execution time, but do not place a local checkout path into a reusable skill file. - For collection, use the privileged
DataAgent/AutoPilotonly after the route/scenario pair is validated, the server is reachable, and the output directory has enough space. A generated command or valid fixture is never a claim that data generation passed. - Stop before network downloads, simulator launch, Docker, or the 210 GB data acquisition boundary unless the Researcher explicitly owns those external actions and verifies them separately.
Invariants and handoffs
data-and-routesowns route/scenario generation, route visualization, collection layout, and safe preflight. Link tomodel-trainingfor how samples are consumed and tocarla-evaluationfor Longest6/evaluator runs.- The generated dataset must contain synchronized frame indices across the
required modalities and enough future
label_rawframes for the configured sequence/prediction window. - Scenario files describe trigger transforms and event configurations; route files describe map/town and waypoint paths. A matching filename alone does not prove that an event trigger lies on a route.
- The repository checkout is source evidence only. These bundled references and scripts must remain usable when the original checkout is absent.
Verification status
The route/scenario schemas, selected repository fixtures, and self-contained
script fixtures are CPU-checkable. CARLA 0.9.10.1 and a running CarlaUE4.sh
server were absent during construction, so no scenario generation, route
interpolation, visualization against a map, or dataset collection is claimed
as passed. Treat this as an explicit external-runtime block.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.