The official devkit of the nuScenes dataset (www.nuscenes.org).
Project description
nuScenes devkit
Welcome to the devkit of the nuScenes dataset.
Overview
Changelog
- Mar. 26, 2019: Full dataset & devkit v1.0.0 released. Support dropped for teaser data.
- Dec. 20, 2018: Initial evaluation code released. Devkit folders restructured.
- Nov. 21, 2018: RADAR filtering and multi sweep aggregation.
- Oct. 4, 2018: Code to parse RADAR data released.
- Sep. 12, 2018: Devkit for teaser dataset released.
Dataset download
To download nuScenes you need to go to the Download page,
create an account and agree to the nuScenes Terms of Use.
After logging in you will see multiple archives.
For the devkit to work you will need to download all archives.
Please unpack the archives to the /data/sets/nuscenes
folder *without* overwriting folders that occur in multiple archives.
Eventually you should have the following folder structure:
/data/sets/nuscenes
samples - Sensor data for keyframes.
sweeps - Sensor data for intermediate frames.
maps - Large image files (~500 Gigapixel) that depict the drivable surface and sidewalks in the scene.
v1.0-* - JSON tables that include all the meta data and annotations. Each split (trainval, test, mini) is provided in a separate folder.
If you want to use another folder, specify the dataroot
parameter of the NuScenes class (see tutorial).
Devkit setup
The devkit is tested for Python 3.6 and Python 3.7. To install python, please check here.
Our devkit is available and can be installed via pip:
pip install nuscenes-devkit
If you don't have pip, please check here to install pip.
For an advanced installation, see installation for detailed instructions.
Tutorial
To get started with the nuScenes devkit, please run the tutorial as an IPython notebook:
jupyter notebook $HOME/nuscenes-devkit/python-sdk/tutorial.ipynb
In case you want to avoid downloading and setting up the data, you can also take a look at the rendered notebook on nuScenes.org. To learn more about the dataset, go to nuScenes.org or take a look at the database schema and annotator instructions.
Object detection task
For instructions related to the object detection task (results format, classes and evaluation metrics), please refer to this readme.
Backward compatibility
- Mar. 26, 2019: With the full dataset release we drop support for the code and data of the teaser release. Several changes to the map table and map files break backward compatibility.
- Dec. 20, 2018: We restructured the nuscenes-devkit code, which breaks backward compatibility.
The new structure has a top-level package
nuscenes
which contains packageseval
,export
andutils
. Therefore, existing imports fromnuscenes_utils
should be replaced bynuscenes.nuscenes
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file nuscenes_devkit-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: nuscenes_devkit-1.0.0-py3-none-any.whl
- Upload date:
- Size: 73.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.25.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14f5d509bdfb67f7bcf05d07feb9a7358d9b1a604523d8c3c7ebf166d0b137c5 |
|
MD5 | ca1c7789efae55cbcf2178c86e44a525 |
|
BLAKE2b-256 | 85cbe22d6d564093e623a23047914c4f1240993c90a442b1bece997833bf83ac |