-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document downloading the av2 sensor data used in 4DGF. (#12)
Co-authored-by: tobiasfshr <tobias.fischer@inf.ethz.ch>
- Loading branch information
1 parent
237bc0a
commit 9656b4c
Showing
6 changed files
with
251 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# [Argoverse 2](https://www.argoverse.org/av2.html) | ||
|
||
This dataset is a collection of open-source autonomous driving data and high-definition (HD) maps from six U.S. cities: Austin, Detroit, Miami, Pittsburgh, Palo Alto, and Washington, D.C. This release builds upon the initial launch of Argoverse (“Argoverse 1”), which was among the first data releases of its kind to include HD maps for machine learning and computer vision research. | ||
|
||
We provide scripts to download and preprocess the parts of the Argoverse 2 dataset used in our experiments. We refer to the [Argoverse User Guide](https://argoverse.github.io/user-guide/getting_started.html#overview) for detailed instructions on how to get started with the dataset. | ||
|
||
## Requirements | ||
To download and preprocess the Argoverse 2 dataset: | ||
|
||
1. **Install our modified [Argoverse 2 devkit](https://argoverse.github.io/user-guide/getting_started.html) via** | ||
``` | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | ||
rustup default nightly-2023-12-11 | ||
pip install git+https://github.com/tobiasfshr/av2-api.git | ||
``` | ||
We use the following rustc version: `rustc 1.76.0-nightly (21cce21d8 2023-12-11)`. | ||
|
||
2. **Install `s5cmd`** | ||
|
||
#### Conda Installation (Recommended) | ||
|
||
```bash | ||
conda install s5cmd -c conda-forge | ||
``` | ||
|
||
#### Manual Installation | ||
|
||
```bash | ||
#!/usr/bin/env bash | ||
|
||
export INSTALL_DIR=$HOME/.local/bin | ||
export PATH=$PATH:$INSTALL_DIR | ||
export S5CMD_URI=https://github.com/peak/s5cmd/releases/download/v2.0.0/s5cmd_2.0.0_$(uname | sed 's/Darwin/macOS/g')-64bit.tar.gz | ||
|
||
mkdir -p $INSTALL_DIR | ||
curl -sL $S5CMD_URI | tar -C $INSTALL_DIR -xvzf - s5cmd | ||
``` | ||
|
||
Note that it will install s5cmd in your local bin directory. You can always change the path if you prefer installing it in another directory. Note that an AWS account is **not** required to download the datasets. | ||
|
||
## Download & Preprocessing | ||
Use the following commands to download and preprocess the data: | ||
|
||
``` | ||
# Residential split | ||
mp-process av2 --location-aabb 6180 1620 6310 1780 | ||
# Downtown split | ||
mp-process av2 --location-aabb 1100 -50 1220 150 | ||
# Single sequence | ||
mp-process av2 | ||
``` | ||
|
||
By default, this will download and preprocess the dataset in the following folder structure: | ||
``` | ||
data/ | ||
Argoverse2/ | ||
train/ | ||
0c61aea3-3cba-35f3-8971-df42cd5b9b1a/ | ||
... | ||
``` | ||
You can adjust the path with the `--data` option. Note that we provide ego-vehicle masks for this dataset located at `assets/masks`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# [KITTI](https://www.cvlibs.net/datasets/kitti/eval_tracking.php) | ||
|
||
Download the dataset to a location of your convenience. You can later adjust the data path in the preprocessing script. | ||
|
||
## Preprocessing | ||
|
||
By default we assume the following dataset location. | ||
``` | ||
data/ | ||
KITTI/ | ||
tracking/ | ||
training/ | ||
image_02/ | ||
... | ||
``` | ||
|
||
You can then process the data with the following commands: | ||
|
||
``` | ||
mp-process kitti --sequence 0001 | ||
mp-process kitti --sequence 0002 | ||
mp-process kitti --sequence 0006 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
|
||
# [VKITTI2](https://europe.naverlabs.com/research/computer-vision/proxy-virtual-worlds-vkitti-2/) | ||
|
||
Download the dataset to a location of your convenience. You can later adjust the data path in the preprocessing script. | ||
|
||
## Preprocessing | ||
|
||
By default we assume the following dataset location. | ||
``` | ||
data/ | ||
VKITTI2/ | ||
Scene01/ | ||
... | ||
``` | ||
|
||
You can then process the data with the following commands: | ||
|
||
``` | ||
mp-process vkitti2 --sequence 02 | ||
mp-process vkitti2 --sequence 06 | ||
mp-process vkitti2 --sequence 18 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# [Waymo](https://waymo.com/open/) | ||
|
||
## Requirements | ||
Please the Waymo API install via | ||
|
||
``` | ||
pip install waymo-open-dataset-tf-2-11-0==1.6.1 --no-deps | ||
``` | ||
|
||
Note that due to a dependency conflict with numpy, you need to install e.g. tensorflow manually after. | ||
|
||
## Download & Preprocessing | ||
|
||
We provide data download and preprocessing of the full Dynamic-32 split from [EmerNeRF](https://emernerf.github.io/) via a single command: | ||
|
||
``` | ||
mp-process waymo | ||
``` | ||
|
||
By default, this will download and the data to the following location: | ||
|
||
``` | ||
data/ | ||
waymo/ | ||
raw/ | ||
segment-... | ||
processed/ | ||
... | ||
metadata_segment-... | ||
``` | ||
|
||
You can adjust the path with the `--data` option. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters