|
1 | 1 | # nuplan-devkit |
2 | 2 |
|
3 | | -Welcome to the devkit of the [nuPlan](https://www.nuplan.org). |
4 | | -This repo is currently under development and will be ready for the teaser release on December 10, 2021. |
| 3 | +Welcome to the devkit of [nuPlan](https://www.nuplan.org). |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | +## Overview |
| 8 | +- [Changelog](#changelog) |
| 9 | +- [Teaser release](#teaser-release) |
| 10 | +- [Devkit structure](#devkit-structure) |
| 11 | +- [Devkit setup](#devkit-setup) |
| 12 | +- [Dataset setup](#dataset-setup) |
| 13 | +- [Getting started](#getting-started) |
| 14 | +- [Known issues](#known-issues) |
| 15 | +- [Citation](#citation) |
| 16 | + |
| 17 | +## Changelog |
| 18 | +- Dec. 10, 2021: Devkit v0.1.0: Release of the initial teaser dataset (v0.1) and corresponding devkit and maps (v0.1). See [Teaser release](#teaser-release) for more information. |
| 19 | + |
| 20 | +## Teaser release |
| 21 | +On Dec. 10 2021 we released the nuPlan teaser dataset and devkit. This is meant to be a **public beta** version. |
| 22 | +We are aware of several limitations of the current dataset and devkit. |
| 23 | +Nevertheless we have chosen to make this teaser available to the public for early consultation and to receive feedback on how to improve it. |
| 24 | +We appreciate your feedback as a [Github issue](https://github.com/motional/nuplan-devkit/issues). |
| 25 | + |
| 26 | +**Note:** All interfaces are subject to change for the full release! No backward compatibility can be guaranteed. |
| 27 | + |
| 28 | +Below is a list of upcoming features for the full release: |
| 29 | +- The teaser dataset includes 200h of data from Las Vegas, we will be releasing the full 1500h dataset that also includes data from Singapore, Boston or Pittsburgh in early 2022. |
| 30 | +- The full release will also include the sensor data for 150h (10% of the total dataset). |
| 31 | +- Localization, perception scenario tags and traffic lights will be improved in future releases. |
| 32 | +- The full release will have an improved dashboard, closed-loop training, advanced planning baselines, end-to-end planners, ML smart agents, RL environment, as well as more metrics and scenarios. |
| 33 | + |
| 34 | +## Devkit structure |
| 35 | +Our code is organized in these directories: |
| 36 | +``` |
| 37 | +ci - Continuous integration code. Not relevant for average users. |
| 38 | +docs - Readmes and other documentation of the repo and dataset. |
| 39 | +nuplan - The main source folder. |
| 40 | + common - Code shared by `database` and `planning`. |
| 41 | + database - The core devkit used to load and render nuPlan dataset and maps. |
| 42 | + planning - The stand-alone planning framework for simulation, training and evaluation. |
| 43 | +tutorials - Interactive tutorials, see `Getting started`. |
| 44 | +``` |
| 45 | + |
| 46 | +## Devkit setup |
| 47 | +Please refer to the [installation page](https://github.com/motional/nuplan-devkit/blob/master/docs/installation.md) for detailed instructions on how to setup the devkit. |
| 48 | + |
| 49 | +## Dataset setup |
| 50 | +To download nuPlan you need to go to the [Download page](https://nuplan.org/nuplan#download), |
| 51 | +create an account and agree to the [Terms of Use](https://www.nuplan.org/terms-of-use). |
| 52 | +After logging in you will see multiple archives. |
| 53 | +For the devkit to work you will need to download *all* archives. |
| 54 | +Please unpack the archives to the `~/nuplan/dataset` folder. |
| 55 | +Eventually you should have the following folder structure: |
| 56 | +``` |
| 57 | +~/nuplan/dataset - The dataset folder. Can be read-only. |
| 58 | + nuplan_v*.db - SQLite database that includes all metadata |
| 59 | + maps - Folder for all map files |
| 60 | + <missing> - Sensor data will be added in the future |
| 61 | +~/nuplan/exp - The experiment and cache folder. Must have read and write access. |
| 62 | +``` |
| 63 | +If you want to use another folder, you can set the corresponding [environment variable](https://github.com/motional/nuplan-devkit/blob/master/docs/installation.md) or specify the `data_root` parameter of the NuPlanDB class (see tutorial). |
| 64 | + |
| 65 | +## Getting started |
| 66 | +Please follow these steps to make yourself familiar with the nuScenes dataset: |
| 67 | +- Familiarize yourself with the main [features of nuPlan](https://www.nuplan.org) and the [dataset description](https://www.nuplan.org/nuplan). |
| 68 | +- Setup the [devkit](#dataset-setup) and [dataset](#dataset-setup) as described above. |
| 69 | +- Walk through the tutorials in [this folder](https://github.com/motional/nuplan-devkit/blob/master/tutorials/) or run them yourself using: |
| 70 | +``` |
| 71 | +jupyter notebook ~/nuplan-devkit/tutorials/<filename>.ipynb |
| 72 | +``` |
| 73 | +Replace <filename> with one of the following: |
| 74 | +``` |
| 75 | + - `nuplan_framework.ipynb`: This is the main tutorial for anyone who wants to dive right into ML planning. |
| 76 | + It describes how to 1) train an ML planner, 2) simulate it, 3) measure the performance and 4) visualize the results. |
| 77 | +``` |
| 78 | +- Read the [nuPlan paper](https://www.nuplan.org/publications) to understand the details behind the dataset. |
| 79 | + |
| 80 | +## Citation |
| 81 | +Please use the following citation when referencing [nuPlan](https://arxiv.org/abs/2106.11810): |
| 82 | +``` |
| 83 | +@INPROCEEDINGS{nuplan, |
| 84 | + title={NuPlan: A closed-loop ML-based planning benchmark for autonomous vehicles}, |
| 85 | + author={H. Caesar, J. Kabzan, K. Tan et al.,}, |
| 86 | + booktitle={CVPR ADP3 workshop}, |
| 87 | + year=2021 |
| 88 | +} |
| 89 | +``` |
0 commit comments