Add files using upload-large-folder tool
Browse files- .gitattributes +1 -0
- README.md +75 -30
- routes-xml/town01.xml +0 -0
- routes-xml/town02.xml +0 -0
- routes-xml/town03.xml +0 -0
- routes-xml/town04.xml +0 -0
- routes-xml/town05.xml +0 -0
- routes-xml/town06.xml +0 -0
- routes-xml/town07.xml +0 -0
- routes-xml/town10.xml +0 -0
- routes-xml/town12.xml +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
routes-xml/town12.xml filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -40,13 +40,67 @@ SynFlow: Scaling Up LiDAR Scene Flow Estimation with Synthetic Data
|
|
| 40 |
[](https://arxiv.org/abs/2604.09411)
|
| 41 |
[](https://kin-zhang.github.io/SynFlow)
|
| 42 |
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
## Dataset Summary
|
| 46 |
|
| 47 |
-
SynFlow dataset provides dense 3D scene-flow ground truth for autonomous-driving research.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
-
|
| 50 |
|
| 51 |
## Data Collection
|
| 52 |
|
|
@@ -71,31 +125,7 @@ The data collection code can be found in [SynFlow](https://github.com/Kin-Zhang/
|
|
| 71 |
|
| 72 |
Default: LiDAR is mounted at `z = 2.1 m` above the ego vehicle origin.
|
| 73 |
|
| 74 |
-
## File Structure
|
| 75 |
-
|
| 76 |
-
```
|
| 77 |
-
data/
|
| 78 |
-
├── scene-{town}{channels}{route_id:04d}{split:02d}.h5 # one file per scene
|
| 79 |
-
├── index_total.pkl # frame index for training / visualization
|
| 80 |
-
└── index_eval.pkl # evaluation subset (optional)
|
| 81 |
-
```
|
| 82 |
-
|
| 83 |
-
### File Naming Convention
|
| 84 |
|
| 85 |
-
```
|
| 86 |
-
scene-{town_id}{channels}{route_id:04d}{scene_split:02d}.h5
|
| 87 |
-
```
|
| 88 |
-
|
| 89 |
-
| Field | Description | Example |
|
| 90 |
-
|---|---|---|
|
| 91 |
-
| `town_id` | CARLA map ID (digits only) | `01`, `12` |
|
| 92 |
-
| `channels` | LiDAR beam count | `32`, `64` |
|
| 93 |
-
| `route_id` | 4-digit route index within the town | `0042` |
|
| 94 |
-
| `scene_split` | 2-digit split index when a long route is divided | `00`, `01`, … |
|
| 95 |
-
|
| 96 |
-
**Example:** `scene-0164004200.h5` → Town01, 64-beam LiDAR, route 42, split 0.
|
| 97 |
-
|
| 98 |
-
Scenes with fewer than 120 valid frames are discarded during collection.
|
| 99 |
|
| 100 |
## HDF5 Schema
|
| 101 |
|
|
@@ -129,7 +159,9 @@ Each HDF5 file contains one scene. Every frame is stored as an HDF5 **group** ke
|
|
| 129 |
|
| 130 |
`ground_mask` is `True` for points whose CARLA semantic tag is one of `{Road, SideWalk, Terrain, RoadLine, Ground}` (tags 1, 2, 10, 24, 25).
|
| 131 |
|
| 132 |
-
##
|
|
|
|
|
|
|
| 133 |
|
| 134 |
`index_total.pkl` is a pickled list of `[scene_id, timestamp]` pairs covering all frames, required for OpenSceneFlow training and visualization:
|
| 135 |
|
|
@@ -141,7 +173,7 @@ with open("index_total.pkl", "rb") as f:
|
|
| 141 |
|
| 142 |
`index_eval.pkl` (optional) subsamples every 5 frames with a minimum non-ground point count, for standardized evaluation.
|
| 143 |
|
| 144 |
-
|
| 145 |
|
| 146 |
```python
|
| 147 |
import h5py
|
|
@@ -169,6 +201,17 @@ For visualization and training, use the [OpenSceneFlow](https://github.com/KTH-R
|
|
| 169 |
```bash
|
| 170 |
python tools/visualization.py --res_name flow --data_dir /path/to/data
|
| 171 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 172 |
<!--
|
| 173 |
## Coordinate System
|
| 174 |
|
|
@@ -208,4 +251,6 @@ If you use this dataset, please cite our papers and acknowledge the CARLA simula
|
|
| 208 |
|
| 209 |
## License
|
| 210 |
|
| 211 |
-
|
|
|
|
|
|
|
|
|
| 40 |
[](https://arxiv.org/abs/2604.09411)
|
| 41 |
[](https://kin-zhang.github.io/SynFlow)
|
| 42 |
|
| 43 |
+
The SynFlow dataset is a synthetic LiDAR scene flow benchmark collected using the [CARLA](https://carla.org/) simulator, and is formatted for seamless compatibility with [OpenSceneFlow](https://github.com/KTH-RPL/OpenSceneFlow).
|
| 44 |
+
We provide both the full dataset and [two pretrained model checkpoints](model-ckpt/) (one trained on the SynFlow-4k dataset, and another on SynFlow-4k augmented with real-world data; both are trained with [*DeltaFlow* backbone](https://github.com/Kin-Zhang/DeltaFlow)) to support further research and development by the community.
|
| 45 |
+
|
| 46 |
+
<p align="center">
|
| 47 |
+
<img alt="synflow_cover" src="https://kin-zhang.github.io/SynFlow/assets/images/cover.png" />
|
| 48 |
+
</p>
|
| 49 |
|
| 50 |
## Dataset Summary
|
| 51 |
|
| 52 |
+
SynFlow dataset provides dense 3D scene-flow ground truth for autonomous-driving research.
|
| 53 |
+
An ego vehicle drives along pre-defined routes in multiple CARLA towns while a LiDAR captures point clouds at **10 Hz**.
|
| 54 |
+
Each **scene** is stored as a separate HDF5 file and spans roughly **20 seconds** (~200 frames for 64-beam LiDAR, ~30 s / 302 frames for 32-beam LiDAR).
|
| 55 |
+
Dynamic objects (vehicles, pedestrians, cyclists, etc.) receive instance-level rigid-body flow labels; static background points receive ego-motion-compensated flow.
|
| 56 |
+
|
| 57 |
+
**Folder Structure**
|
| 58 |
+
|
| 59 |
+
```
|
| 60 |
+
town-data-folder/
|
| 61 |
+
├── scene-{town}{channels}{route_id:04d}{split:02d}.h5 # one file per scene
|
| 62 |
+
├── ...
|
| 63 |
+
├── index_total.pkl # frame index for training / visualization
|
| 64 |
+
...
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
# The backbone here is *DeltaFlow*
|
| 68 |
+
model-ckpt/
|
| 69 |
+
├── synflow-4k-longadp.ckpt # the ckpt trained only on our SynFlow-4k dataset
|
| 70 |
+
├── synflow-real-longadp.ckpt # the ckpt trained on our SynFlow-4k dataset and real-world dataset (Av2, Waymo, nuscene)
|
| 71 |
+
|
| 72 |
+
routes-xml/ # generate from our code, check: https://github.com/Kin-Zhang/SynFlow
|
| 73 |
+
├── town01.xml
|
| 74 |
+
├── town02.xml
|
| 75 |
+
├── ...
|
| 76 |
+
└── town12.xml
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
**Data Split**
|
| 80 |
+
|
| 81 |
+
Here is the data split presented in our SynFlow paper Tab. 1, with the folder name and composition.
|
| 82 |
+
|
| 83 |
+
| Split | # Annotated Frames | Folder Name | Composition |
|
| 84 |
+
|:---:|:---:|:---:|:---:|
|
| 85 |
+
| 1k | 271, 148 | `town-06-07-10` | Town06, 07, 10 arterials, complex junctions, rural roads |
|
| 86 |
+
| 2k | 449,407 | `town-01-05` | Town01–05 roundabouts, multi-lane intersections |
|
| 87 |
+
| 3k | 720,555 | `town-06-07-10` + `town-01-05` | Town06-07-10, Town01-05 |
|
| 88 |
+
| 4k | 939,083 | `town-01-05` + `town-12` | Town01-05, Town12 |
|
| 89 |
+
|
| 90 |
+
**File Naming Convention**
|
| 91 |
+
|
| 92 |
+
```
|
| 93 |
+
scene-{town_id}{channels}{route_id:04d}{scene_split:02d}.h5
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
| Field | Description | Example |
|
| 97 |
+
|---|---|---|
|
| 98 |
+
| `town_id` | CARLA map ID (digits only) | `01`, `12` |
|
| 99 |
+
| `channels` | LiDAR beam count | `32`, `64` |
|
| 100 |
+
| `route_id` | 4-digit route index within the town | `0042` |
|
| 101 |
+
| `scene_split` | 2-digit split index when a long route is divided | `00`, `01`, … |
|
| 102 |
|
| 103 |
+
**Example:** `scene-0164004200.h5` → Town01, 64-beam LiDAR, route 42, split 0. Scenes with fewer than 120 valid frames are discarded during collection.
|
| 104 |
|
| 105 |
## Data Collection
|
| 106 |
|
|
|
|
| 125 |
|
| 126 |
Default: LiDAR is mounted at `z = 2.1 m` above the ego vehicle origin.
|
| 127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
|
| 130 |
## HDF5 Schema
|
| 131 |
|
|
|
|
| 159 |
|
| 160 |
`ground_mask` is `True` for points whose CARLA semantic tag is one of `{Road, SideWalk, Terrain, RoadLine, Ground}` (tags 1, 2, 10, 24, 25).
|
| 161 |
|
| 162 |
+
## Quick Usage Example
|
| 163 |
+
|
| 164 |
+
**Index Files**
|
| 165 |
|
| 166 |
`index_total.pkl` is a pickled list of `[scene_id, timestamp]` pairs covering all frames, required for OpenSceneFlow training and visualization:
|
| 167 |
|
|
|
|
| 173 |
|
| 174 |
`index_eval.pkl` (optional) subsamples every 5 frames with a minimum non-ground point count, for standardized evaluation.
|
| 175 |
|
| 176 |
+
**HDF5 File Example**
|
| 177 |
|
| 178 |
```python
|
| 179 |
import h5py
|
|
|
|
| 201 |
```bash
|
| 202 |
python tools/visualization.py --res_name flow --data_dir /path/to/data
|
| 203 |
```
|
| 204 |
+
|
| 205 |
+
For training, please follow the [OpenSceneFlow](https://github.com/KTH-RPL/OpenSceneFlow) to setup environment and change the data path to this dataset, example command:
|
| 206 |
+
```bash
|
| 207 |
+
python train.py slurm_id=$SLURM_JOB_ID wandb_mode=online wandb_project_name=synflow \
|
| 208 |
+
train_data="['data/town-06-07-10', 'SynFlow/data/town-01-05', 'SynFlow/data/town-12']" \
|
| 209 |
+
val_data='$DATA_DIR/val' model=deltaflow loss_fn=deltaflowLoss model.target.decoder_option=default \
|
| 210 |
+
num_workers=16 num_frames=5 model.target.decay_factor=0.4 epochs=21 batch_size=2 \
|
| 211 |
+
save_top_model=3 val_every=3 train_aug=True "voxel_size=[0.15, 0.15, 0.15]" "point_cloud_range=[-38.4, -38.4, -3, 38.4, 38.4, 3]" \
|
| 212 |
+
optimizer.lr=2e-4 +optimizer.scheduler.name=StepLR +optimizer.scheduler.step_size=3 +optimizer.scheduler.gamma=0.9
|
| 213 |
+
```
|
| 214 |
+
|
| 215 |
<!--
|
| 216 |
## Coordinate System
|
| 217 |
|
|
|
|
| 251 |
|
| 252 |
## License
|
| 253 |
|
| 254 |
+
- **SynFlow-4k dataset** and checkpoints trained only on SynFlow-4k dataset are released under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/).
|
| 255 |
+
- CARLA itself is subject to its own [license terms](https://carla.org/).
|
| 256 |
+
- Checkpoints trained on SynFlow-4k + real-world dataset are released under [Argoverse 2](https://www.argoverse.org/about.html#terms-of-use), [Waymo Open Dataset](https://waymo.com/open/terms/), [nuScenes](https://www.nuscenes.org/terms-of-use) licenses. Please refer to the respective licenses for more details.
|
routes-xml/town01.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
routes-xml/town02.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
routes-xml/town03.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
routes-xml/town04.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
routes-xml/town05.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
routes-xml/town06.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
routes-xml/town07.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
routes-xml/town10.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
routes-xml/town12.xml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12a3a49fe6c5d91a8b29030576ec820c0313c84cf469d650a3b06179b808fae4
|
| 3 |
+
size 48201336
|