To make it easier to get started, we've prepared a basic pipeline that guides users from data caching to data generation and visualization.
Usage steps:
- Prepare the environment
- Download the nuplan dataset
- Download the model checkpoint from Huggingface (or your specified location).
- Edit the
update_configfunction inscripts/pipeline/pipeline.pyto specify your nuplan data root, map root, and checkpoint path, for example:cfg.scenario_builder.data_root = '/path/to/your/nuplan/data' cfg.scenario_builder.map_root = '/path/to/your/nuplan/maps' cfg.checkpoint = '/path/to/your/model.ckpt'
- Run the pipeline:
python scripts/pipeline/pipeline.py
After running pipeline.py, you will see three kinds of visualization GIFs in the scripts/pipeline/ directory:
task_condition.gif- Shows the scene conditions and context
task_gt.gif- Shows the ground truth trajectories of all agents
task_pred.gif- Shows the model's predicted trajectories
No additional parameters are needed if the above paths are set correctly in the config.


