The scene in AlpaSim is a NuRec reconstruction of a real-world driving log. Publicly available NuRec scenes are stored on Hugging Face and are used to create realistic driving scenarios for testing autonomous driving policies.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/NVlabs/alpasim/llms.txt
Use this file to discover all available pages before exploring further.
NuRec Scenes Overview
NuRec (Neural Reconstruction) scenes are high-fidelity reconstructions of real-world driving scenarios that include:- 3D environment geometry from sensor data
- Vehicle trajectories of the ego vehicle and traffic
- Camera recordings from multiple viewpoints
- Map information including lanes, road edges, and traffic signs
data/nre-artifacts/all-usdzs. The scenes are identified by their UUID, rather than their filenames, to prevent versioning issues.
Scene IDs are defined in
data/scenes/sim_scenes.csv. A scene ID does not uniquely identify the .usdz file, as the scene ID comes from the metadata.yaml file inside the .usdz zip file. The proper artifact file will be chosen to satisfy the NRE version requirements.Scene Selection Methods
AlpaSim provides two primary methods for selecting scenes:- Individual Scenes
- Scene Suites
Selecting Individual Scenes
For custom scene selection, you can specify scenes manually usingscenes.scene_ids:Multiple Scenes
You can specify multiple scenes as a comma-separated list:If necessary, the scene will automatically be downloaded from Hugging Face to your local
data/nre-artifacts/all-usdzs directory. Ensure you have set your Hugging Face token in the HF_TOKEN environment variable.Scene Data Structure
The scene metadata is organized in CSV files:sim_scenes.csv
Contains information about individual scenes:| Field | Description |
|---|---|
uuid | Unique identifier for the artifact |
scene_id | Scene identifier (e.g., clipgt-a309e228-...) |
nre_version_string | NRE version (e.g., 25.7.9-e633dd23) |
path | Path to the .usdz file in the repository |
last_modified | Last modification timestamp |
artifact_repository | Source repository (e.g., huggingface) |
sim_suites.csv
Defines scene collections:| Field | Description |
|---|---|
test_suite_id | Suite identifier (e.g., public_2507_ex_failures) |
scene_id | Scene ID included in this suite |
HuggingFace Dataset
Publicly available scenes are hosted on the NVIDIA PhysicalAI HuggingFace repository.Set HuggingFace Token
Ensure your HuggingFace token is set in your environment:See the onboarding instructions for details on obtaining a token.
Automatic Download
When you specify a scene that doesn’t exist locally, AlpaSim will automatically download it from HuggingFace:
Scene Configuration
The scene cache and CSV paths are configured inbase_config.yaml:
Limiting Scene Count
You can limit the number of scenes from a suite:Artifact Compatibility
AlpaSim uses a compatibility matrix to ensure scenes work with the current version:Compatibility Matrix Configuration
Compatibility Matrix Configuration
.replace('_', '.').You can add compatible versions ad-hoc:
scenes.artifact_compatibility_matrix.current_version.new_version=trueBest Practices
Performance Tip: Downloaded scenes are cached locally. Once downloaded, subsequent runs will use the cached versions, significantly improving startup time.