Yuan-avs commited on
Commit
d83eff7
·
0 Parent(s):

Duplicate from Yuan-avs/munich2drive_edgar

Browse files
.gitattributes ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp 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
README.md ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ features:
4
+ - name: mp4
5
+ dtype: video
6
+ - name: clip_id
7
+ dtype: string
8
+ - name: scenario_id
9
+ dtype: int64
10
+ - name: ego_id
11
+ dtype: int64
12
+ - name: version
13
+ dtype: string
14
+ - name: map
15
+ dtype: string
16
+ - name: weather
17
+ dtype: string
18
+ - name: sun_altitude_deg
19
+ dtype: float64
20
+ - name: precipitation
21
+ dtype: float64
22
+ - name: wetness
23
+ dtype: float64
24
+ - name: night
25
+ dtype: bool
26
+ - name: n_agents
27
+ dtype: int64
28
+ - name: agents_by_type
29
+ struct:
30
+ - name: CAR
31
+ dtype: int64
32
+ - name: TRUCK
33
+ dtype: int64
34
+ - name: BUS
35
+ dtype: int64
36
+ - name: BICYCLE
37
+ dtype: int64
38
+ - name: MOTORCYCLE
39
+ dtype: int64
40
+ - name: horizon_steps
41
+ dtype: int64
42
+ - name: dt_s
43
+ dtype: float64
44
+ - name: audit_clean
45
+ dtype: bool
46
+ - name: max_pose_error_m
47
+ dtype: float64
48
+ - name: max_height_dev_m
49
+ dtype: float64
50
+ - name: ground_layer_corrections
51
+ dtype: int64
52
+ - name: actors_inherited
53
+ dtype: int64
54
+ - name: actors_surviving_cleanup
55
+ dtype: int64
56
+ - name: ego_blueprint
57
+ dtype: string
58
+ - name: ego_collision_events
59
+ dtype: int64
60
+ - name: ego_collisions
61
+ list:
62
+ - name: time_step
63
+ dtype: int64
64
+ - name: other
65
+ dtype: string
66
+ - name: other_id
67
+ dtype: int64
68
+ - name: impulse
69
+ dtype: float64
70
+ - name: trajectory
71
+ struct:
72
+ - name: t
73
+ list: int64
74
+ - name: x
75
+ list: float64
76
+ - name: y
77
+ list: float64
78
+ - name: carla_x
79
+ list: float64
80
+ - name: carla_y
81
+ list: float64
82
+ - name: yaw
83
+ list: float64
84
+ - name: v
85
+ list: float64
86
+ - name: a
87
+ list: float64
88
+ - name: yaw_rate
89
+ list: float64
90
+ - name: n_states
91
+ dtype: int64
92
+ - name: path_length_m
93
+ dtype: float64
94
+ - name: speed_mps
95
+ struct:
96
+ - name: mean
97
+ dtype: float64
98
+ - name: max
99
+ dtype: float64
100
+ - name: ego_length_m
101
+ dtype: float64
102
+ - name: ego_width_m
103
+ dtype: float64
104
+ - name: trajectory_source
105
+ dtype: string
106
+ splits:
107
+ - name: train
108
+ num_bytes: 5764456891
109
+ num_examples: 494
110
+ download_size: 5764694887
111
+ dataset_size: 5764456891
112
+ configs:
113
+ - config_name: default
114
+ data_files:
115
+ - split: train
116
+ path: data/train-*
117
+ license: other
118
+ license_name: upstream-assets-see-acknowledgements
119
+ pretty_name: munich2drive_edgar
120
+ task_categories:
121
+ - video-classification
122
+ tags:
123
+ - autonomous-driving
124
+ - trajectory-prediction
125
+ - motion-planning
126
+ - carla
127
+ - commonroad
128
+ - sumo
129
+ - surround-view
130
+ - digital-twin
131
+ - munich
132
+ size_categories:
133
+ - n<1K
134
+ ---
135
+
136
+ # munich2drive_edgar
137
+
138
+ Surround-camera driving clips from a **real Munich HD map** built by
139
+ [SimForge](https://simforge.ai/), each paired with the **ego vehicle's full trajectory**. Every clip is a nine-panel video -- six surround cameras at
140
+ the ego's real sensor extrinsics, a chase view, a bird's-eye view, and the frame-locked
141
+ CommonRoad ground truth -- so what the model sees and what the data says are visible side
142
+ by side.
143
+
144
+ The ego is rendered with the **real EDGAR mesh** -- TUM's VW T7 Multivan digital
145
+ twin -- rather than the stand-in van used in
146
+ [munich2drive](https://huggingface.co/datasets/Yuan-avs/munich2drive). Same 50 base
147
+ scenarios, same trajectories, same camera extrinsics; what changes is that the
148
+ vehicle you see in the chase and bird's-eye views is the vehicle the footprint has
149
+ always described.
150
+
151
+ - **494 clips** over 50 base scenarios (494 sumo_edgar)
152
+ - 60,463 agent-replays, 79-161 agents per clip
153
+ - 12 weather / time-of-day conditions, 0 at night
154
+ - ego paths 10.64-232.85 m (median 108.88 m)
155
+
156
+ ## Camera provenance
157
+
158
+ The six surround-camera extrinsics (`front`, `front_left`, `front_right`, `back`,
159
+ `back_left`, `back_right`) are EDGAR's real Basler short-range rig, read from
160
+ `edgar.description.states.urdf` in
161
+ [TUM-AVS/edgar_digital_twin](https://github.com/TUM-AVS/edgar_digital_twin) and
162
+ converted from the URDF's ROS convention into CARLA's frame -- the poses hang off
163
+ `rear_axle_center`, so `CARLA x = urdf_x - 0.009`, `y = -urdf_y`,
164
+ `z = urdf_z + 0.338`, with the yaw and pitch handedness flipped. They are **not**
165
+ derived from the bounding box, and must not be rescaled to one.
166
+
167
+ EDGAR's long-range forward stereo pair is not rendered: it has no counterpart in a
168
+ 6-view surround layout. The `chase` and `bird` panels are visualisation only and do
169
+ **not** correspond to sensors on the vehicle -- they are derived from the actor's
170
+ bounding box. The `commonroad` panel is ground truth, not a camera.
171
+
172
+ ## Each row
173
+
174
+ | field | |
175
+ |---|---|
176
+ | `mp4` | the 3x3 grid clip (1920x1080, 10 fps, 120 frames) |
177
+ | `json` | everything below, as one record |
178
+ | `trajectory` | parallel arrays: `t`, `x`, `y`, `carla_x`, `carla_y`, `yaw`, `v`, `a`, `yaw_rate` |
179
+ | `path_length_m`, `speed_mps` | trajectory summary |
180
+ | `weather`, `sun_altitude_deg`, `precipitation`, `wetness`, `night` | conditions |
181
+ | `n_agents`, `agents_by_type` | surrounding traffic |
182
+ | `ego_collision_events`, `ego_collisions` | ego collision-sensor events with impulses |
183
+ | `audit_clean`, `max_pose_error_m`, `max_height_dev_m` | per-clip verification, below |
184
+
185
+ `x`/`y` are the CommonRoad map frame -- the frame the CommonRoad panel of the video is
186
+ drawn in. `carla_x`/`carla_y` are the same states in the CARLA world frame, via the
187
+ verified transform (`carla_x = lx`, `carla_y = -ly` after reprojecting EPSG:3857 to the
188
+ map's local transverse-Mercator frame; `crdesigner` emits 3857, which is ~1.5x
189
+ scale-distorted at 48N, so this conversion is not optional).
190
+
191
+ The trajectory is given in world coordinates; ego-relative future waypoints follow from
192
+ the state at any `t` by the usual rigid transform.
193
+
194
+ ## Verification
195
+
196
+ Rendering audits each clip against its scenario file at 14 time steps and ships the
197
+ result, so these are measurements, not claims:
198
+
199
+ - `audit_clean`: **494 / 494**
200
+ - agent pose error vs CommonRoad: median **0.006 m**, p99 0.376 m, max 1.161 m
201
+ - height deviation: median 0.05 m, p99 0.322 m, max 0.383 m
202
+ - clips rendered with actors inherited from a previous run: **0**; with actors surviving cleanup: **0**
203
+ - clips with at least one ego collision event: 0
204
+
205
+ ## Known limitations
206
+
207
+ - Traffic is replayed kinematically from recorded SUMO trajectories and does **not** react
208
+ to the ego. No clip in this set records an ego collision event, but the absence is a
209
+ property of these particular replays, not evidence that the traffic would yield.
210
+ - Where SUMO placed two footprints overlapping, the render shows them interpenetrating.
211
+ - The ego mesh is the EDGAR digital twin as cooked for CARLA; it is hosted on the
212
+ `vehicle.lincoln.mkz_2017` blueprint id, which is cosmetic -- what spawns is
213
+ EDGAR (bbox 4.962 x 2.233 x 2.089 m, TUM livery).
214
+ - 500 clips were rendered; the 6 whose ego left the ground at a single audit step are
215
+ withheld, so every clip published here passes. Those 6 failed on height deviation
216
+ only -- pose error was unaffected, which is why the pose figures above are the same
217
+ as for the full 500 while the height tail is not.
218
+ - All clips are daytime; unlike `munich2drive` this set contains no night renders.
219
+
220
+ ## Acknowledgements
221
+
222
+ Munich HD map from [SimForge](https://simforge.ai/); ego vehicle and motion planner from
223
+ [TUM-AVS](https://github.com/TUM-AVS) (EDGAR digital twin, Frenetix); built on
224
+ [CARLA](https://carla.org), [CommonRoad](https://commonroad.in.tum.de) and
225
+ [SUMO](https://eclipse.dev/sumo/). The EDGAR digital twin
226
+ ([TUM-AVS/edgar_digital_twin](https://github.com/TUM-AVS/edgar_digital_twin)) is
227
+ **LGPL-3.0**; its attribution and licence text travel with the cooked asset and with
228
+ these renders of it. Observe the upstream licences of the HD map, simulator assets
229
+ and vehicle models.
data/train-00000-of-00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d9fd2378937cb2060b082c99eafaede2f6bfcfc40a7f519fef797785093f8b8
3
+ size 955870052
data/train-00001-of-00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c85ba2f5cb2c5d7d2a4aa658a4ac58910ef7c1f86386e0def08ccd68d240a55
3
+ size 977688984
data/train-00002-of-00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84373d2c33b9a4ff12a99c67606acaec4ce79126d8bc3f57abc75b16af9414bf
3
+ size 965854383
data/train-00003-of-00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71459c3c683048fa5ae66ab34c4f9ee8b6adf16aa7eb1572a7a594c9cb2e9959
3
+ size 939761635
data/train-00004-of-00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37eb0c39c1463bdbd730aaa9407b315db80942a2084d0b068fb91f4e164bf87c
3
+ size 948030758
data/train-00005-of-00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a53ff7e7b9d8c0338deb7b63e60e37b2d9458ed7a79bbddf7625fa7f222c8a07
3
+ size 977489075