Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- README.md +59 -3
- drivelm_carla_keyframes.txt +3 -0
- drivelm_carla_vqas.zip +3 -0
- drivelm_nus_imgs_train.zip +3 -0
- drivelm_nus_imgs_val.zip +3 -0
- gitattributes +8 -0
- v1_1_train_nus.json +3 -0
- v1_1_val_nus_q_only.json +0 -0
.gitattributes
CHANGED
|
@@ -57,3 +57,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
drivelm_carla_keyframes.txt filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
v1_1_train_nus.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,59 @@
|
|
| 1 |
-
---
|
| 2 |
-
license:
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
viewer: false
|
| 4 |
+
---
|
| 5 |
+
# **DriveLM:** Driving with **G**raph **V**isual **Q**uestion **A**nswering.
|
| 6 |
+
|
| 7 |
+
We facilitate `Perception, Prediction, Planning, Behavior, Motion` tasks with human-written reasoning logic as a connection. We propose the task of GVQA to connect the QA pairs in a graph-style structure. To support this novel task, we provide the DriveLM-Data.
|
| 8 |
+
|
| 9 |
+
DriveLM-Data comprises two distinct components: DriveLM-nuScenes and DriveLM-CARLA. In the case of DriveLM-nuScenes, we construct our dataset based on the prevailing nuScenes dataset. As for DriveLM-CARLA, we collect data from the CARLA simulator.
|
| 10 |
+
|
| 11 |
+
## Prepare DriveLM-nuScenes Dataset
|
| 12 |
+
|
| 13 |
+
Our DriveLM-nuScenes contains a collection of questions and answers. The dataset is named `v1_0_train_nus.json`. We offer a subset of image data that includes all the images used in our DriveLM. You can also download the full nuScenes dataset [HERE](https://www.nuscenes.org/download).
|
| 14 |
+
|
| 15 |
+
## Usage
|
| 16 |
+
|
| 17 |
+
1. Download nuScenes subset image data (or full nuScenes dataset) and `v1_0_train_nus.json`.
|
| 18 |
+
|
| 19 |
+
2. Organize the data structure as follows:
|
| 20 |
+
|
| 21 |
+
```
|
| 22 |
+
DriveLM
|
| 23 |
+
├── data/
|
| 24 |
+
│ ├── QA_dataset_nus/
|
| 25 |
+
│ │ ├── v1_0_train_nus.json
|
| 26 |
+
│ ├── nuscenes/
|
| 27 |
+
│ │ ├── samples/
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
## Prepare DriveLM-CARLA Dataset
|
| 31 |
+
We provide a collection of questions and answers for DriveLM-CARLA. The dataset `drivelm_carla_vqas.zip` contains question-answer pairs for pre-determined keyframes listed in `drivelm_carla_keyframes.txt` for each scenario. You can download the full dataset using the provided [script](https://github.com/OpenDriveLab/DriveLM/blob/DriveLM-CARLA/vqa_dataset/download_pdm_lite_carla_lb2.py). All scripts for extracting keyframes and generating the question-answer dataset are available on [GitHub](https://github.com/OpenDriveLab/DriveLM/blob/DriveLM-CARLA/vqa_dataset). Additionally, we also provide instructions how to built your own dataset.
|
| 32 |
+
|
| 33 |
+
## License and Citation
|
| 34 |
+
|
| 35 |
+
This language dataset is licensed under [CC-BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/). If you use this dataset, please cite our work:
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
```BibTeX
|
| 39 |
+
@article{drivelm_paper2023,
|
| 40 |
+
title={DriveLM: Driving with Graph Visual Question Answering},
|
| 41 |
+
author={Sima, Chonghao and Renz, Katrin and Chitta, Kashyap and Chen, Li and Zhang, Hanxue and Xie, Chengen and Luo, Ping and Geiger, Andreas and Li, Hongyang},
|
| 42 |
+
journal={arXiv preprint arXiv:2312.14150},
|
| 43 |
+
year={2023}
|
| 44 |
+
}
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
```BibTeX
|
| 48 |
+
@misc{drivelm_repo2023,
|
| 49 |
+
title={DriveLM: Driving with Graph Visual Question Answering},
|
| 50 |
+
author={DriveLM contributors},
|
| 51 |
+
howpublished={\url{https://github.com/OpenDriveLab/DriveLM}},
|
| 52 |
+
year={2023}
|
| 53 |
+
}
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
Paper dataset for ECCV 2024 [DriveLM: Driving with Graph Visual Question Answering](https://huggingface.co/papers/2312.14150)
|
| 57 |
+
|
| 58 |
+
For more information and updates, please visit our [GitHub repository](https://github.com/OpenDriveLab/DriveLM).
|
| 59 |
+
|
drivelm_carla_keyframes.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f52b8e01e048f679022ec53bc67a070d810767e4423ad878a0a840d929217f35
|
| 3 |
+
size 15132336
|
drivelm_carla_vqas.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1dbddf1e3724a0d107e45db3b8af9cb295652888252ffe08a2df67af379ef41
|
| 3 |
+
size 449891992
|
drivelm_nus_imgs_train.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2cb95fafac00ca058c04735c339a183657d60962afee12d782b410c602eab936
|
| 3 |
+
size 3483205396
|
drivelm_nus_imgs_val.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ded1b140a2c6f1b551d92555008c39a3c0ec3fd0825095e7aa920a5bbe6592e9
|
| 3 |
+
size 704864335
|
gitattributes
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
v1_0_train_nus.json filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
drivelm_nus_imgs.zip filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
drivelm_nus_imgs_train.zip filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
v1_1_train_nus.json filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
drivelm_nus_imgs_val.zip filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
drivelm_carla_vqas.zip filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
keyframes_all_towns.txt filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
drivelm_carla_keyframes.txt filter=lfs diff=lfs merge=lfs -text
|
v1_1_train_nus.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecd3c13e9beb27295bcf6182ea35fff7c1d6a9ba58d40e48fb38d713094759fd
|
| 3 |
+
size 192961829
|
v1_1_val_nus_q_only.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|