Skip to content

valeoai/ScenarioMax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScenarioMax

Python 3.10+ License: MIT

ScenarioMax is an extension to ScenarioNet that transforms converted data from ScenarioNet into a standardized TFRecord format. It currently supports real-world datasets like Waymo, nuPlan, and nuScenes through a unified interface, making the data compatible with both Waymax, V-Max and GPUDrive.

Features

  • Unified Data Interface: Access multiple autonomous driving datasets through a single API
  • Data Transformation Pipeline: Convert raw scenario data into a standardized format thanks to ScenarioNet.
  • TFRecord Conversion: Generate TFRecord files for efficient processing in Waymax and V-Max. Extended support for the GPUDrive format.
  • SDC Path Support: Add and evaluate multiple potential trajectories for self-driving vehicles
  • Extensible Architecture: Easily add support for new datasets

Supported Datasets

Dataset Version Link Status
Waymo Open Motion Dataset v1.3.0 Site ✅ Full Support
nuPlan v1.1 Site ✅ Full Support
nuScenes v1.0 Site ✅ Full Support
Argoverse v2.0 Site 🚧 WIP

For dataset setup, you can see the complete ScenarioNet documention.

Installation && Usage

Support 3.10

Basic Installation

pip install -e .

With nuPlan Support

pip install -e devkit/nuplan-devkit
pip install -r devkit/nuplan-devkit/requirements.txt

Usage

python scenariomax/convert_dataset.py --waymo_src /data/datasets/womd/training/ --dst /data/test --log-level INFO --shard 10 --num-workers 10 --format tfexample

Data Pipeline

ScenarioMax provides a streamlined workflow for:

  1. Loading raw scenario data from various sources
  2. Processing the data into a unified format
  3. Transforming scenarios with additional features
  4. Exporting to TFRecord format for use in simulation environments

Release Notes

Version 1.0

  • Initial implementation with support for Waymo, nuPlan, and nuScenes
  • TFRecord conversion pipeline for efficient data handling
  • SDC paths support

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For issues or feature requests, please open an issue on the repository or contact the project maintainers.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published