File size: 7,656 Bytes
1f3626c
7cc9aa1
0cd8770
 
 
 
 
 
 
 
 
 
 
1f3626c
0cd8770
 
 
 
 
 
118bede
 
0cd8770
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
afecfe8
0cd8770
 
 
 
afecfe8
 
0cd8770
 
afecfe8
0cd8770
afecfe8
0cd8770
118bede
afecfe8
0cd8770
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
afecfe8
0cd8770
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
license: cc-by-nc-4.0
pretty_name: AmodalDrive
task_categories:
- image-to-3d
tags:
- autonomous-driving
- 4d-reconstruction
- gaussian-splatting
- novel-view-synthesis
- occlusion
- dashcam
- amodal
---

# AmodalDrive

AmodalDrive is the paired dataset of **AGT: Amodal 4D Reconstruction from Obstructed Driving Videos**.
Every obstructed driving video in AmodalDrive has a pixel-aligned clean counterpart.

- Project page: https://agt4d.github.io/
- Code: https://github.com/phai-lab/AGT
- Paper: arXiv, coming soon

## Overview

In-the-wild driving videos carry no camera poses, depth or clean targets, so they cannot be used for training directly.
AmodalDrive therefore simulates them.

- **Occluder layers.** Camera-attached occluders of dashcam videos, such as the hood, a phone mount or the reflection of the dashboard on the windshield, are separated from internet dashcam videos as static layers with an opacity and a color in image coordinates.
- **Opacity refinement.** The opacity is set to one on the solid parts (hood, dashboard and similar), while the reflections on the windshield stay translucent.
- **Quality control.** Videos with a stationary camera are discarded, the layers are de-duplicated, low-quality layers are removed, and every remaining layer is inspected by a human. Of 4,121 input videos, 1,178 occluder layers remain and form the layer pool.
- **Splits.** The 1,030 layers from distinct recordings are used: 855 for training, 25 for validation and 150 for testing. No layer and no recording is shared between the splits. The official train / test splits of the scene datasets are kept.
- **Composition.** A layer from the pool is alpha-composited onto every clean frame of a scene. For night scenes, the brightness and color of the opaque parts are matched to the scene and the reflected color in the translucent regions is strongly reduced before composition.
- **Occluder mask.** The ground-truth occluder mask is the verified opaque region of the composited layer.

The model in the paper is trained on the Waymo source of AmodalDrive (798 scenes) and evaluated on the test split of the same source (150 scenes).
All data is at 518x294.

## Contents

- **Occluder layers**: the layers of the pool, one HDF5 file per layer.
- **Layer pool and layer table**: the split of each layer, its source recording group, and the quality-control and lighting information per layer.
- **Pairing tables**: which layer is composited onto which scene, with the lighting profile and seed of each row. Together with the layers, they fix the composition of every clip.
- **Scene splits and evaluation lists**: the scene ids of each split per source, the real-dashcam held-out clip list with ids and time windows, and the frame-selection declaration of the evaluation protocol.
- **Occluder masks**: per scene, the ground-truth occluder mask, and the precomputed occluder mask provided with the dataset that serves as the method input. The results of the paper are reproduced with these precomputed masks. 88 nuScenes scenes have no precomputed mask; they are listed under `not_provided` in `masks/predicted/nuscenes/index.json`.
- **Example clips**: ready-to-run inputs of the comparison clips shown on the project page (synthetic test clips, real dashcam clips, clips grouped by occluder area, and zero-shot nuScenes clips).

## Building the composed data

1. Download the [Waymo Open Dataset](https://waymo.com/open/) v2.0.1.
2. Download this dataset.
3. Run the scene preprocessing, label and composition scripts of the [code repository](https://github.com/phai-lab/AGT#dataset). They write the composed validation and test clips.
4. Score a method on them with the scoring script of the code repository.

## Folder layout

```
templates/
  pool.json                       layer pool: split, source group and sha256 of every layer
  templates.jsonl                 one row per layer: source recording, lighting, quality control, roles
  layers/<template_id>/layers_518x294.h5
maps/v2/
  map.json                        how the pairing tables were drawn
  train.jsonl  val.jsonl  test.jsonl
                                  one row per (source, scene): template_id, lighting_profile, noise_seed
eval_sets/
  v2/train.jsonl  v2/val.jsonl  v2/test.jsonl
                                  scene ids per split and source
  v2/realcam_heldout.jsonl        real-dashcam held-out clips: ids and time windows
  v2/split_report.json            split rules and counts
  v2.frame_selection.json         frame-selection tolerance per source
masks/
  ground_truth/<source>/<scene_id>/mask.h5
  ground_truth/<source>/index.json
  predicted/<source>/<scene_id>/mask.h5
  predicted/<source>/index.json
examples/
  index.json                      case name, source dataset, clip id, group, mask settings
  <case>/frame_00.png ... frame_19.png
  <case>/clip.json                frame times, input positions and, where available, cameras
  <case>/mask.png                 occluder mask used as the method input (255 = occluder)
MANIFEST.json                     every file with its size in bytes
```

All paths inside the metadata files are relative to the dataset root.
`source_id` in the tables is `waymo`, `nuscenes` or `nurec`. `nurec` refers to scenes of the NVIDIA PhysicalAI Autonomous Vehicles NuRec dataset; the pairing rows and masks of all three sources are provided, the scenes themselves are not.

## File formats

- **`layers_518x294.h5`**: static layers on the 518x294 grid. `dc_alpha` and `dc_observation_rgb` are the separated opacity and color, `solid_mask_hard` is the opaque region, `solid_rgb` is the color of the opaque parts, and `roles/<role>` marks the dashboard, hood, pillar and other objects. The remaining datasets are auxiliary masks used by the composition code.
- **Ground-truth mask `mask.h5`**: `occluder_policy_hard` (uint8, 294x518) is the occluder mask used for scoring. `overlay_hard` marks static on-screen overlays of the layer.
- **Precomputed mask `mask.h5`**: `occluder_pred_hard` (bool, 294x518) is the method input. `per_frame` and `votes` hold the per-frame masks it is voted from. The mask is static across the frames of a clip.
- **Examples**: 20 obstructed frames per clip in the clip format of the evaluation export. `examples/index.json` lists the input positions of each case and the mask dilation applied at run time.

## License and attribution

Our own files in this repository (the occluder layers, pairing tables, splits, masks and metadata) are released under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). The example frames that show third-party scenes remain under the licenses of those datasets.

- **MM-AU.** The occluder layers are separated from MM-AU videos, and their colors come from these videos. MM-AU is released for academic use, and its terms also cover the MM-AU real example clips.
- **Waymo Open Dataset.** The frames of the synthetic and occluder-area example clips are composed on Waymo Open Dataset scenes and remain under the Waymo Dataset License Agreement for Non-Commercial Use.
- **nuScenes.** The frames of the zero-shot nuScenes example clips are composed on nuScenes scenes and remain under the nuScenes license (CC BY-NC-SA 4.0).
- **BDD100K.** One real example clip comes from BDD100K and remains under the BDD100K license.

## Citation

```bibtex
@misc{bi2026agt,
  title  = {AGT: Amodal 4D Reconstruction from Obstructed Driving Videos},
  author = {Bi, Bodong and Chen, Nuo and Xu, Hongyu and Kong, Xiaoqiang and Huang, Baoru and Nguyen, Anh and Zhou, Yang and Fan, Zhiwen},
  year   = {2026},
  note   = {arXiv preprint, coming soon}
}
```