2023-05-05 19:20:08 +01:00
# ScenarioNet
2023-05-19 13:51:18 +01:00
2023-09-12 22:13:03 +01:00
**Open-Source Platform for Large-Scale Traffic Scenario Simulation and Modeling** [](https://colab.research.google.com/github/metadriverse/scenarionet/blob/main/tutorial/simulation.ipynb)
2023-06-17 17:19:40 +01:00
2023-08-26 22:29:54 +01:00
[
2023-06-22 12:17:20 +01:00
[**Webpage** ](https://metadriverse.github.io/scenarionet/ ) |
2023-06-17 17:19:40 +01:00
[**Code** ](https://github.com/metadriverse/scenarionet ) |
2023-06-23 19:50:40 +01:00
[**Video** ](https://youtu.be/3bOqswXP6OA ) |
2023-06-22 12:17:20 +01:00
[**Paper** ](http://arxiv.org/abs/2306.12241 ) |
2023-09-12 22:10:42 +01:00
[**Documentation** ](https://scenarionet.readthedocs.io/en/latest/ ) |
[**Colab Example** ](https://colab.research.google.com/github/metadriverse/scenarionet/blob/main/tutorial/simulation.ipynb )
2023-08-26 22:29:54 +01:00
]
2023-06-17 17:19:40 +01:00
2023-08-26 22:29:54 +01:00
ScenarioNet allows users to load scenarios from real-world dataset like Waymo, nuPlan, nuScenes, l5 and synthetic
2023-06-17 17:19:40 +01:00
dataset such as procedural generated ones and safety-critical ones generated by adversarial attack.
2023-08-25 18:35:46 +01:00
The built database provides tools for building training and test sets for ML applications.
2023-06-17 17:19:40 +01:00
Powered by [MetaDrive Simulator ](https://github.com/metadriverse/metadrive ), the scenarios can be reconstructed for
various applications like AD stack test, reinforcement learning, imitation learning, scenario generation and so on.
2023-09-12 22:28:21 +01:00

2023-06-17 17:19:40 +01:00
2023-05-19 13:51:18 +01:00
## Installation
2023-08-26 22:29:54 +01:00
The detailed installation guidance is available
at [documentation ](https://scenarionet.readthedocs.io/en/latest/install.html ).
A simplest way to do this is as follows.
2023-05-19 13:51:18 +01:00
```
2023-07-03 13:50:33 +01:00
# create environment
conda create -n scenarionet python=3.9
conda activate scenarionet
# Install MetaDrive Simulator
git clone git@github .com:metadriverse/metadrive.git
cd metadrive
pip install -e.
# Install ScenarioNet
2023-05-19 13:51:18 +01:00
git clone git@github .com:metadriverse/scenarionet.git
cd scenarionet
pip install -e .
```
2023-08-26 22:29:54 +01:00
## API reference
2023-06-10 18:56:33 +01:00
2023-08-26 22:29:54 +01:00
All operations and API reference is available at
our [documentation ](https://scenarionet.readthedocs.io/en/latest/operations.html ).
If you already have ScenarioNet installed, you can check all operations by `python -m scenarionet.list` .
2023-06-10 18:56:33 +01:00
2023-08-26 22:29:54 +01:00
## Citation
2023-06-10 18:56:33 +01:00
2023-08-26 22:29:54 +01:00
If you used this project in your research, please cite
2023-06-10 18:56:33 +01:00
2023-08-26 22:29:54 +01:00
```latex
@article {li2023scenarionet,
title={ScenarioNet: Open-Source Platform for Large-Scale Traffic Scenario Simulation and Modeling},
author={Li, Quanyi and Peng, Zhenghao and Feng, Lan and Duan, Chenda and Mo, Wenjie and Zhou, Bolei and others},
journal={arXiv preprint arXiv:2306.12241},
year={2023}
}
2023-05-19 13:51:18 +01:00
```