DriveWild3R-Bench / README.md
xTazah's picture Jerrythebeginner's picture
DriveWild3R-Bench
fa20f40
|
Raw History Blame
10.5 kB
---
pretty_name: DriveWild3R-Bench
license: cc-by-4.0
task_categories:
- image-to-3d
tags:
- novel-view-synthesis
- 3d-gaussian-splatting
- autonomous-driving
- transient-removal
- carla
- benchmark
size_categories:
- 10K<n<100K
---
# DriveWild3R-Bench
**Paper:** [arXiv:2611.39071](https://arxiv.org/abs/2611.39071) · **Project page:** [drivewild3r.github.io](https://drivewild3r.github.io) · **Code:** [github.com/DriveWild3R/DriveWild3R](https://github.com/DriveWild3R/DriveWild3R) · **Model:** [DriveWild3R/DriveWild3R](https://huggingface.co/DriveWild3R/DriveWild3R)
DriveWild3R-Bench is a benchmark for feed-forward reconstruction of driving scenes **from drives with moving traffic**, scored against **pixel-aligned traffic-free ground truth**.
Real driving data cannot show what is behind a vehicle. So we render road locations in CARLA 0.9.16 twice along the identical camera poses: once with traffic, and once with no actors at all. Context views and lighting references always come from the frames with traffic, as they would on a real vehicle. Each scored target frame then has a clean twin that shows the static scene behind the traffic.
| | |
|---|---|
| Locations | 29 road locations of 50 m in six towns (Towns 02, 03, 05, 10, 12, 13) |
| Captures | 36 (one `.tar.gz` each, 56.8 GB compressed) |
| Held-out splits | 173: **44 Easy / 81 Medium / 48 Hard** (2,076 scored frames) |
| Input-view splits | 50 (400 scored frames) |
| Camera | front camera `CAM_F0`, 1920×1080, 10 Hz, nuPlan front-camera intrinsics and distortion |
| Per drive | RGB, Cityscapes-trainId semantic labels, depth, LiDAR, ego pose, ego mask |
| Clean twins | 43 traffic-free target drives, 5,287 clean frames |
No stage of any method in the paper is trained or tuned on this benchmark. It is for evaluation only.
## Difficulty levels
The splits are grouped into three levels by capture conditions. The level of every split is given in `splits/`.
| Level | Splits | Conditions |
|---|---:|---|
| **Easy** | 44 | daylight, dry target drive, context drive in the target's lane (median lateral distance < 1 m) |
| **Medium** | 81 | same conditions, context 3–8 m to the side; 21 splits take context from several drives in the target's direction |
| **Hard** | 48 | lateral distances 3–15 m and large changes of weather and time of day between drives (night, fog, dust, heavy rain); in 14 splits the context mixes drives from both directions |
The level belongs to a *split*, not to an archive:
- **E01–E04, M01–M04, H01–H04** (Towns 10, 12, 13) are each designed for one level, so all 5 splits of the capture share it.
- **The seven named locations** (Blend … Tree Shade) are captured twice:
- `same_direction`: all drives in one direction, daylight. Each context drive gives one single-drive split, Easy if it drives in the target's lane and Medium otherwise. All drives together give one multi-drive split, Medium.
- `opposing_weather`: two target drives, context drives facing away from them, and a weather pool with night, fog, dust and heavy rain. All 4 splits are Hard.
- **Town 12 Scenes 1–10** (downtown) are captured once, with the same rule as `same_direction`.
`locations.json` lists every location, its archives and its split count per level.
## Repository layout
```
README.md
locations.json location -> town, archives, held-out splits per level
splits/
easy.json medium.json hard.json held-out splits per level (44 / 81 / 48)
all_heldout.json all 173 held-out splits
input_views.json 50 input-view splits
common/
sensor_rig.json vehicle, camera pose on the vehicle, intrinsics, distortion (same for all captures)
ego_mask_calibration.json
ego_masks/raw/CAM_F0.png
scenes/
Town02_Houses/{same_direction,opposing_weather}.tar.gz
Town03_Blend/… Town03_MegaWide/… Town05_Bonsai/…
Town10_BusStation/… Town10_Getty/… Town10_TreeShade/…
Town12_Scene01.tar.gz … Town12_Scene10.tar.gz
Town10_E01.tar.gz Town12_E02.tar.gz Town13_E03.tar.gz Town13_E04.tar.gz
Town10_M01.tar.gz Town12_M02.tar.gz Town13_M03.tar.gz Town13_M04.tar.gz
Town10_H01.tar.gz Town12_H02.tar.gz Town13_H03.tar.gz Town13_H04.tar.gz
```
### Inside an archive
Each archive extracts to one scene folder in the nuPlan / MTGS road-block layout. The folder keeps its capture name (e.g. `T05_Opt_Bonsai/`), and `scene_folder` in the splits gives it.
```
<scene_folder>/
images/raw/<DRIVE>/CAM_F0/<token>_CAM_F0.jpg RGB, distorted (raw)
masks/raw/cityscape/<DRIVE>/CAM_F0/<token>_CAM_F0.png Cityscapes trainIds (10 = sky, 11–18 = transient, 255 = unlabeled static)
masks/raw/ego/CAM_F0.png ego mask
depth/undistorted_optimal/<DRIVE>/CAM_F0/… depth
lidar/<DRIVE>/<token>.pcd LiDAR sweeps
video_scene_dict.pkl, video_scene_dict_GT.pkl per-frame poses, intrinsics, timestamps
split.json, split_GT.json, paired_gt.json drives of the capture, clean-twin pairing
```
`<DRIVE>` is `T1`, `T2`, … for drives with traffic. The clean twin of a target drive is `T5-GT` (or `T6-GT` for the second target drive of an `opposing_weather` capture). In **Town10_E01** and **Town10_M01** the benchmark uses `T5-GT-1` as the clean twin. Its frames also have the parked cars removed, like every other twin. `T5-GT` in those two archives is not used. The splits always name the twin to use.
## Split format
Each split is one JSON object:
```json
{
"id": "Town03_Blend/same_direction/target-T5/context-T2",
"level": "easy",
"location": "Town03_Blend",
"capture": "same_direction",
"archive": "scenes/Town03_Blend/same_direction.tar.gz",
"scene_folder": "T03_Opt_Blend",
"target_drives": ["T5"],
"context_drives": ["T2"],
"n_context": 8, "n_target": 24, "n_scored": 12,
"context": [{"drive": "T2", "frame": 4, "token": "…", "image": "images/raw/T2/CAM_F0/…_CAM_F0.jpg"}, …],
"targets": [{"drive": "T5", "frame": 4, "token": "…", "image": "images/raw/T5/CAM_F0/…_CAM_F0.jpg",
"gt_drive": "T5-GT", "gt_image": "images/raw/T5-GT/CAM_F0/…_CAM_F0.jpg", "scored": true}, …]
}
```
All paths are relative to the extracted scene folder. Semantic labels have the same path with `images/` replaced by `masks/` and `raw/` by `raw/cityscape/`, and with `.png` in place of `.jpg`.
- **Held-out splits**: eight context views from a 50 m window, and up to 24 target frames from a held-out drive, of which every second one (12) is scored (`"scored": true`). The unscored targets may be used, e.g. as lighting references.
- **Input-view splits**: the eight context frames are themselves the targets. The context frames contain traffic, and the clean twin of each one is the ground truth. This measures whether a method removes the traffic it was given. In 7 splits the context and targets come from both target drives of an `opposing_weather` capture.
## Scoring protocol
The paper scores at 448×448. Each image is rectified with the `CAM_F0` distortion, the short side is resized to 448, and the image is centre-cropped. Labels follow the same geometry with nearest-neighbour resampling.
All scores use the **clean twin** as ground truth and exclude the sky of the clean frame (trainId 10). The ego mask is empty for this rig.
| Metric | Pixels scored |
|---|---|
| **Full** PSNR / LPIPS | every non-sky pixel; traffic and baked-in ghosts both count |
| **Static** PSNR / LPIPS | Full, minus the transient pixels (trainIds 11–18) of the real target frame |
| **Traffic** PSNR | pixels that are transient in the real target frame but not in the clean one; frames with fewer than 50 such pixels are left out |
How the metrics are computed:
- **PSNR** is computed over the selected pixels.
- **LPIPS** (AlexNet) is computed on both images with the unselected pixels set to zero.
- **Aggregation**: average over the scored frames of each split, then over splits.
The paper reports Easy, Medium, Hard and All (173), plus the 50 input-view splits.
## Download
```bash
pip install -U huggingface_hub
```
```python
import json
from huggingface_hub import hf_hub_download, snapshot_download
repo = dict(repo_id="DriveWild3R/DriveWild3R-Bench", repo_type="dataset")
# split files and metadata only (a few MB)
snapshot_download(**repo, allow_patterns=["*.json", "common/*", "README.md"], local_dir="DriveWild3R-Bench")
# every archive needed for the Hard splits
hard = json.load(open("DriveWild3R-Bench/splits/hard.json"))
for archive in sorted({s["archive"] for s in hard}):
hf_hub_download(**repo, filename=archive, local_dir="DriveWild3R-Bench")
```
```bash
cd DriveWild3R-Bench
mkdir -p extracted
for f in scenes/*.tar.gz scenes/*/*.tar.gz; do
d="extracted/${f#scenes/}"; d="${d%.tar.gz}"; mkdir -p "$d"; tar -xzf "$f" -C "$d"
done
# a split's frames are then under extracted/<archive without scenes/ and .tar.gz>/<scene_folder>/
```
The archives total 56.8 GB compressed; allow more for extraction. For reproducible results, pass a fixed commit as `revision`.
## Traffic
Each normal drive spawns traffic from a seeded, per-drive layout along the route:
- 1–5 moving vehicles (mean 3.9)
- 1–3 cyclists (mean 2.5)
- 2–8 pedestrians on the sidewalks (mean 7.7)
The Town 12 and 13 captures also add 0–3 parked vehicles (mean 0.2). The ego vehicle (a Nissan Patrol) follows a fixed route at 5 m/s. Each drive uses one of CARLA's named weather presets, which combine a sky condition (clear, cloudy, wet, wet-cloudy, soft/mid/hard rain, fog, dust) with a time of day (morning, noon, afternoon, sunset, night).
## License
DriveWild3R-Bench is released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). It is rendered with [CARLA](https://carla.org), whose code is MIT-licensed and whose assets are CC BY.
## Citation
If you use DriveWild3R-Bench, please cite the DriveWild3R paper ([arXiv:2611.39071](https://arxiv.org/abs/2611.39071)):
```bibtex
@article{koehler2026drivewild3r,
title = {DriveWild3R: Feedforward Transient Removal and Compact Reconstruction of Multi-Traversal Driving Data},
author = {K{\"o}hler, Finn and Peng, Chensheng and Shang, Jerry and Agnihotri, Aaditya and Monninger, Thomas and Herau, Quentin and Tomizuka, Masayoshi and Zhan, Wei},
journal = {arXiv preprint arXiv:2611.39071},
year = {2026}
}
```