协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
agents【开发与工程】Implement and debug NAVSIM rule-based, privileged, learned, TransFuser, and latent TransFuser agents while preserving sensor, trajectory, feature-builder, and checkpoint contracts.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this route when an agent must be selected, implemented, trained, loaded, or
troubleshot. It covers the AbstractAgent interface, rule-based and privileged
baselines, ego-status and TransFuser/LTF learned agents, sensor history, local
trajectory sampling, feature/target builders, and checkpoint loading.
AbstractAgent, expose a stable name(), initialize once per
worker, return a deliberate SensorConfig, and return local rear-axle BEV
(x, y, heading) poses in a Trajectory.AgentInput, not an annotated Scene. Keep
requires_scene=False for submission agents; the human/privileged baseline
is useful for analysis but is prohibited in submission creation.forward() output (including "trajectory" with shape [B, T, 3]), loss,
optimizer, and checkpoint key namespaces mutually compatible.Run the bundled agent contract validator:
python scripts/validate_agent_contract.py
python scripts/validate_agent_contract.py --help
The validator uses synthetic arrays and sensor configurations only. It does not
require a dataset, maps, checkpoints, downloads, submission credentials, or a
benchmark. Add --module path/to/your_agent.py to inspect importable agent
classes without instantiating or running them; use --strict when missing
optional NAVSIM dependencies should fail the check.
Keep training, scoring, submission generation, and dataset access on their respective workflow routes. This sub-skill explains how an agent participates in those workflows but does not launch them by default.