Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zl3466 authored Jun 13, 2024
1 parent 1d735c8 commit 2c40ce4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,20 @@ Multiagent: the whole set is a NuScenes object, and each multi-agent encounter i
<br/>

## Initialization
First, install `nuscenes-devkit` following NuScenes's repo tutorial, [Devkit setup section](https://github.com/nutonomy/nuscenes-devkit?tab=readme-ov-file#devkit-setup)


Note that the "version" variable is the name of the folder holding all .json metadata
First, install `nuscenes-devkit` following NuScenes's repo tutorial, [Devkit setup section](https://github.com/nutonomy/nuscenes-devkit?tab=readme-ov-file#devkit-setup). The easiest way is install via pip:
```
pip install nuscenes-devkit
```

## Usage:
Import NuScenes devkit:
```
from nuscenes.nuscenes import NuScenes
```

Multitraversal example: loading data of location 10:
```
# The "version" variable is the name of the folder holding all .json metadata tables.
location = 10
mars_10 = NuScenes(version='v1.0', dataroot=f'/MARS_multitraversal/{location}', verbose=True)
```
Expand Down

0 comments on commit 2c40ce4

Please sign in to comment.