算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
navsim【设计与创意】Use NAVSIM v2 for autonomous-driving agent development, OpenScene data setup, learned-agent training, EPDMS evaluation, traffic-policy experiments, visualization, and leaderboard submission preparation.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task names NAVSIM, OpenScene, EPDMS/PDM score, pseudo
closed-loop driving evaluation, TransFuser/LTF, Trajectory, SensorConfig,
NAVSIM split names, or the NAVSIM submission pickle. This is a self-contained
operating graph: use its bundled references and safe helpers rather than
reopening a NAVSIM checkout.
For a request that spans routes, start with setup-and-data, then follow the
links from agents into training or evaluation; use
visualization-and-submission only for plotting and submission artifacts.
NAVSIM v2.0.0 documents Python 3.9+, a nuPlan devkit dependency, PyTorch 2.0.1, Hydra, PyTorch Lightning, NumPy, OpenCV, geospatial libraries, and optional visualization/Jupyter packages. Use a fresh environment and the package's versioned requirements rather than mutating an unrelated environment. For a public source installation, use a compatible Python 3.9+ environment and pin this source revision:
python -m pip install "navsim @ git+https://github.com/autonomousvision/navsim.git@0a380a9063d7162ec93d0f51e9990ebac585f720"
python -m pip check
If a user already has a source checkout, editable installation is equivalent:
python -m pip install -e . from that checkout. A minimal public import check
is:
python -c "import navsim; from navsim.common.dataclasses import SensorConfig, Trajectory; print('NAVSIM import OK')"
GPU is not required for metadata/API inspection, but learned TransFuser training and realistic sensor/evaluation workloads should use a compatible CUDA Torch installation. Never call a CPU import proof of GPU capability.
Before any data-backed command, define these public variables and validate the
selected roots with the bundled workspace validator
from the setup-and-data route:
NUPLAN_MAP_VERSION=nuplan-maps-v1.0NUPLAN_MAPS_ROOT: readable nuPlan map databaseNAVSIM_EXP_ROOT: experiment outputs and metric cacheNAVSIM_DEVKIT_ROOT: the NAVSIM installation/project root used by the user's
command contextOPENSCENE_DATA_ROOT: OpenScene logs, sensor blobs, and two-stage bundlesDo not create empty directories to satisfy the checker. Logs, sensor paths, map data, synthetic scenes, and metric caches are separate resources.
(x, y, heading) form with a
matching TrajectorySampling; the default model output is 4 seconds at
0.5-second intervals, while proposal evaluation commonly samples 4 seconds
at 0.1 seconds.navtrain/trainval/mini are training
candidates; test, navtest, navhard_two_stage, warmup_two_stage, and
private challenge splits are evaluation/submission surfaces.AgentInput, not an annotated Scene; a
requires_scene=True privileged agent cannot generate a valid server pickle.For a package/API/backend smoke, run the shared runtime inspector
with --help, --json, or the explicitly requested --cuda probe. Read
troubleshooting.md for cross-cutting
install/import, environment-variable, split/cache, backend, Hydra, and output
failures. Read repo-provenance.md before
refreshing this graph against a newer NAVSIM source version.