humanmovevqa commited on
Commit
e4cc458
·
verified ·
1 Parent(s): 03bd161

Rewrite dataset card: YAML metadata, schema table, category counts, loading example

Browse files
Files changed (1) hide show
  1. README.md +144 -111
README.md CHANGED
@@ -1,15 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # HumanMoveVQA
2
 
3
- Human motion video question answering. Questions are generated from 3D human pose
4
- estimated with [PromptHMR](https://github.com/yufu-wang/PromptHMR) and captioned with
5
- MotionScript. This is the **v6.3** release.
 
 
 
6
 
7
  ## Files
8
 
9
- | File | Rows | Datasets |
10
- |------|-----:|----------|
11
- | `train.jsonl` | 86,797 | RICH, EgoBody, EMDB, 3DPW, SLOPER4D |
12
- | `val.jsonl` | 11,081 | RICH, EgoBody, EMDB, 3DPW, SLOPER4D |
13
  | `test_emdb.jsonl` | 768 | EMDB |
14
  | `test_rich.jsonl` | 2,218 | RICH |
15
  | `test_egobody.jsonl` | 6,994 | EgoBody |
@@ -19,7 +57,7 @@ MotionScript. This is the **v6.3** release.
19
  `val` is the held-out in-domain split used for checkpoint selection. The `test_*`
20
  files are the evaluation benchmark.
21
 
22
- The train, val, and test splits share no videos and no questions.
23
 
24
  ## Schema
25
 
@@ -44,14 +82,34 @@ One row per question:
44
  }
45
  ```
46
 
47
- - `data` is the frame directory relative to the dataset root. See Video Sources below.
48
- - `category` is one of `numerical`, `comparative`, `dominant`, `temporal`,
49
- `existence`, `ordering`, `trajectory_affordance`.
50
- - `answer` is `"<letter>. <option text>"`. `D` is `null` for two-option questions.
51
- - `source_video_start` and `source_video_end` are `M:SS.mmm`. They are read from the
52
- video file duration, not from the caption metadata.
53
- - For EgoBody entries whose `video_id` carries a `_partNN` suffix, `source_video_id`
54
- is the full recording and the timestamps give the segment's position within it.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
 
56
  ## Changes in v6.3
57
 
@@ -63,151 +121,126 @@ One row per question:
63
 
64
  The previous release is available at the `v6.2-legacy` tag.
65
 
66
- ## Video Sources
67
 
68
- This section explains how to obtain the source videos for each dataset. The `data`
69
- field in each entry points to the relative path of the image frames within the
70
- dataset's directory structure.
71
 
72
- **Frame rate:** All datasets use **24 fps** when assembling image frames into video,
73
- except 3DPW and SLOPER4D, which use **30 fps**.
 
 
 
 
 
74
 
75
- **Spatial downsampling** (width/height divided by factor when converting frames to video):
 
 
76
 
77
- | Dataset | Downsample factor |
78
- |---------|------------------|
79
- | EMDB | 2 |
80
- | RICH | 8 |
81
- | EgoBody | 4 |
82
- | 3DPW | 1 |
83
- | SLOPER4D | 1 |
84
 
85
- ---
 
 
 
 
 
 
 
 
86
 
87
- ## EMDB
 
88
 
89
- **License:** Academic / non-commercial use only. Requires institutional approval.
90
 
91
  **Request access:** [https://emdb.ait.ethz.ch/](https://emdb.ait.ethz.ch/)
92
- Fill out the form with an institutional email address. Access to the download is granted after approval.
93
 
94
  **Download:** Once approved, download all partition folders `P0`, `P1`, ..., `P9`.
95
 
96
- **Data path mapping:**
97
- The `data` field gives the path to the image frames relative to the EMDB root, e.g.:
98
-
99
  ```
100
  "data": "P0/07_outdoor_push_ups/images/"
 
101
  ```
102
 
103
- corresponds to:
104
-
105
- ```
106
- <EMDB_ROOT>/P0/07_outdoor_push_ups/images/
107
- ```
108
-
109
- > **Note on partition nesting:** Some archives unzip into a doubled folder, so the
110
- > frames land at `<EMDB_ROOT>/P2/P2/<sequence>/images/`. Check your local layout and
111
- > adjust the prefix if needed.
112
 
113
- ---
114
-
115
- ## RICH
116
-
117
- **License:** Academic / non-commercial use only.
118
 
119
  **Request access:** [https://rich.is.tue.mpg.de/](https://rich.is.tue.mpg.de/)
120
 
121
- **Download:** From the download page, download the JPEG image files for all three splits: `train`, `val`, and `test`. The `data` field in each entry indicates which split the sequence belongs to, so only the relevant split files are strictly required for a given JSONL.
122
-
123
- **Data path mapping:**
124
- The `data` field gives `<split>/<scene>/<camera>/`, e.g.:
125
 
126
  ```
127
  "data": "val/Pavallion_003_yoga1/cam_10/"
 
128
  ```
129
 
130
- corresponds to:
131
-
132
- ```
133
- <RICH_ROOT>/val/Pavallion_003_yoga1/cam_10/
134
- ```
135
-
136
- > **Note on the train prefix:** Some copies of the RICH train split are nested one
137
- > level deeper, so the frames land at `<RICH_ROOT>/train2/train/<scene>/<camera>/`.
138
- > The `data` field reflects the layout the frames were read from. Adjust the prefix
139
- > to match your local copy.
140
-
141
- ---
142
-
143
- ## EgoBody
144
-
145
- **License:** Academic / non-commercial use only.
146
 
147
- **Request access & Download:** [https://sanweiliti.github.io/egobody/egobody.html](https://sanweiliti.github.io/egobody/egobody.html)
148
- Sign the license and download the `kinect_color` folder, which contains per-recording image frames organised by camera (`master`, `sub_1`, `sub_2`).
149
 
150
- **Data path mapping:**
151
- The `data` field gives `<recording>/<camera>/`, e.g.:
 
152
 
153
  ```
154
  "data": "recording_20211004_S19_S06_01/sub_1/"
 
155
  ```
156
 
157
- corresponds to:
158
-
159
- ```
160
- <EGOBODY_ROOT>/kinect_color/recording_20211004_S19_S06_01/sub_1/
161
- ```
162
-
163
- > **Note on split videos:** Some entries have a `video_id` with a `_partXX` suffix
164
- > (e.g. `recording_20211004_S19_S06_01_sub1_part02`). This indicates the QA was
165
  > generated on a temporal segment of the full recording. `source_video_id` gives the
166
  > full recording, and `source_video_start` / `source_video_end` give the time range
167
  > within it. All image frames are still found under the same `data` path.
168
 
169
- ---
170
-
171
- ## 3DPW
172
-
173
- **License:** See the [3DPW project page](https://virtualhumans.mpi-inf.mpg.de/3DPW/).
174
 
175
  **Download:** Download the image sequence archive (`imageFiles.zip`) and extract it.
176
 
177
- **Data path mapping:**
178
- The `data` field gives `<sequence>/`, e.g.:
179
-
180
  ```
181
  "data": "courtyard_backpack_00/"
 
182
  ```
183
 
184
- corresponds to:
185
-
186
- ```
187
- <3DPW_ROOT>/imageFiles/courtyard_backpack_00/
188
- ```
189
-
190
- > **Note on clip videos:** Some entries have a `video_id` with a `_clipN` suffix
191
- > (e.g. `downtown_bus_00_clip0`). The frames live under the unsuffixed sequence
192
- > directory, so `data` is `downtown_bus_00/`.
193
-
194
- ---
195
-
196
- ## SLOPER4D
197
 
198
- **License:** See the [SLOPER4D project page](https://github.com/climbingdaily/SLOPER4D).
199
 
200
  **Download:** Download the SLOPER4D dataset and extract the RGB clips.
201
 
202
- **Data path mapping:**
203
- The `data` field gives `<sequence>/<clip>/`, e.g.:
204
-
205
  ```
206
  "data": "seq002_football_001/seq002_football_001_c000/"
 
207
  ```
208
 
209
- corresponds to:
210
 
 
 
 
 
 
211
  ```
212
- <SLOPER4D_ROOT>/clips/seq002_football_001/seq002_football_001_c000/
213
- ```
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: academic-non-commercial
4
+ task_categories:
5
+ - visual-question-answering
6
+ - video-text-to-text
7
+ language:
8
+ - en
9
+ tags:
10
+ - video
11
+ - human-motion
12
+ - 3d-pose
13
+ - multiple-choice
14
+ - benchmark
15
+ size_categories:
16
+ - 100K<n<1M
17
+ configs:
18
+ - config_name: default
19
+ data_files:
20
+ - split: train
21
+ path: train.jsonl
22
+ - split: validation
23
+ path: val.jsonl
24
+ - split: test_emdb
25
+ path: test_emdb.jsonl
26
+ - split: test_rich
27
+ path: test_rich.jsonl
28
+ - split: test_egobody
29
+ path: test_egobody.jsonl
30
+ - split: test_3dpw
31
+ path: test_3dpw.jsonl
32
+ - split: test_sloper4d
33
+ path: test_sloper4d.jsonl
34
+ ---
35
+
36
  # HumanMoveVQA
37
 
38
+ Multiple-choice question answering about human motion in video. Questions are
39
+ generated from 3D human pose estimated with
40
+ [PromptHMR](https://github.com/yufu-wang/PromptHMR) and captioned with MotionScript.
41
+
42
+ This is the **v6.3** release. It covers five source datasets: EMDB, RICH, EgoBody,
43
+ 3DPW, and SLOPER4D.
44
 
45
  ## Files
46
 
47
+ | File | Rows | Source dataset |
48
+ |------|-----:|----------------|
49
+ | `train.jsonl` | 86,797 | all five |
50
+ | `val.jsonl` | 11,081 | all five |
51
  | `test_emdb.jsonl` | 768 | EMDB |
52
  | `test_rich.jsonl` | 2,218 | RICH |
53
  | `test_egobody.jsonl` | 6,994 | EgoBody |
 
57
  `val` is the held-out in-domain split used for checkpoint selection. The `test_*`
58
  files are the evaluation benchmark.
59
 
60
+ Train, val, and test share no videos and no questions, in every source dataset.
61
 
62
  ## Schema
63
 
 
82
  }
83
  ```
84
 
85
+ | Field | Meaning |
86
+ |---|---|
87
+ | `id` | Row identifier, unique within a file |
88
+ | `source_dataset` | One of `EMDB`, `RICH`, `EgoBody`, `3DPW`, `SLOPER4D` |
89
+ | `source_video_id` | Full recording. Differs from `video_id` for EgoBody `_partNN` segments |
90
+ | `source_video_start` | Segment start within the full recording, `M:SS.mmm` |
91
+ | `source_video_end` | Segment end within the full recording, `M:SS.mmm` |
92
+ | `video_id` | The video the question was generated from |
93
+ | `data` | Frame directory relative to the dataset root |
94
+ | `category` | Question type, see below |
95
+ | `question` | Question stem |
96
+ | `A`, `B`, `C`, `D` | Options. `C` and `D` are `null` for two-option questions |
97
+ | `answer` | `"<letter>. <option text>"` |
98
+
99
+ `source_video_start` and `source_video_end` are read from the video file duration,
100
+ not from the caption metadata.
101
+
102
+ ### Categories
103
+
104
+ | Category | Count (train + val) | What it asks |
105
+ |---|---:|---|
106
+ | `existence` | 20,891 | Whether a motion event occurred |
107
+ | `numerical` | 16,070 | How many times an event occurred |
108
+ | `comparative` | 14,021 | Which of two directions has greater magnitude |
109
+ | `dominant` | 13,977 | Which direction dominates overall |
110
+ | `temporal` | 13,939 | When an event occurred, or its speed |
111
+ | `trajectory_affordance` | 10,946 | Path shape and what the motion affords |
112
+ | `ordering` | 8,034 | The order in which events occurred |
113
 
114
  ## Changes in v6.3
115
 
 
121
 
122
  The previous release is available at the `v6.2-legacy` tag.
123
 
124
+ ## Source datasets
125
 
126
+ All five are academic, non-commercial use only. Each requires its own request or
127
+ download step. The videos are **not** redistributed here; only the questions and
128
+ answers are.
129
 
130
+ | Dataset | Videos (train / val / test) | Frame rate | Downsample | Access |
131
+ |---|---|---|---|---|
132
+ | RICH | 701 / 83 / 32 | 24 fps | 8 | [rich.is.tue.mpg.de](https://rich.is.tue.mpg.de/) |
133
+ | EgoBody | 300 / 39 / 54 | 24 fps | 4 | [sanweiliti.github.io/egobody](https://sanweiliti.github.io/egobody/egobody.html) |
134
+ | EMDB | 57 / 7 / 11 | 24 fps | 2 | [emdb.ait.ethz.ch](https://emdb.ait.ethz.ch/) |
135
+ | 3DPW | 40 / 4 / 15 | 30 fps | 1 | [3DPW project page](https://virtualhumans.mpi-inf.mpg.de/3DPW/) |
136
+ | SLOPER4D | 13 / 2 / 15 | 30 fps | 1 | [SLOPER4D project page](https://github.com/climbingdaily/SLOPER4D) |
137
 
138
+ Frame rate is the rate at which image frames are assembled into video, measured from
139
+ the frame count and the video duration. Downsample is the factor applied to the
140
+ source image width and height when rendering the video.
141
 
142
+ Split properties:
 
 
 
 
 
 
143
 
144
+ - EgoBody and SLOPER4D splits are group-disjoint. EgoBody groups by recording, so
145
+ views of the same recording never straddle a split. SLOPER4D groups by subject, and
146
+ the benchmark holds three distinct subjects.
147
+ - SLOPER4D clips pass a horizontal alignment gate (XZ RMS <= 2 m against LiDAR GT).
148
+ Clips failing the gate, and RGB-only clips with no GT, are excluded.
149
+ - 3DPW is 30 fps while the other three original datasets are 24 fps, so 3DPW results
150
+ are reported separately in the paper.
151
+
152
+ ## Video sources and path mapping
153
 
154
+ The `data` field points at the frame directory, not the video file. The layout
155
+ differs per dataset.
156
 
157
+ ### EMDB
158
 
159
  **Request access:** [https://emdb.ait.ethz.ch/](https://emdb.ait.ethz.ch/)
160
+ Fill out the form with an institutional email address. Access is granted after approval.
161
 
162
  **Download:** Once approved, download all partition folders `P0`, `P1`, ..., `P9`.
163
 
 
 
 
164
  ```
165
  "data": "P0/07_outdoor_push_ups/images/"
166
+ -> <EMDB_ROOT>/P0/07_outdoor_push_ups/images/
167
  ```
168
 
169
+ > **Partition nesting:** Some archives unzip into a doubled folder, so the frames
170
+ > land at `<EMDB_ROOT>/P2/P2/<sequence>/images/`. Check your local layout and adjust
171
+ > the prefix if needed.
 
 
 
 
 
 
172
 
173
+ ### RICH
 
 
 
 
174
 
175
  **Request access:** [https://rich.is.tue.mpg.de/](https://rich.is.tue.mpg.de/)
176
 
177
+ **Download:** From the download page, download the JPEG image files for all three
178
+ splits: `train`, `val`, and `test`. The `data` field indicates which split a sequence
179
+ belongs to, so only the relevant split files are strictly required.
 
180
 
181
  ```
182
  "data": "val/Pavallion_003_yoga1/cam_10/"
183
+ -> <RICH_ROOT>/val/Pavallion_003_yoga1/cam_10/
184
  ```
185
 
186
+ > **Train prefix:** Some copies of the RICH train split are nested one level deeper,
187
+ > so the frames land at `<RICH_ROOT>/train2/train/<scene>/<camera>/`. The `data` field
188
+ > reflects the layout the frames were read from. Adjust the prefix to match your copy.
 
 
 
 
 
 
 
 
 
 
 
 
 
189
 
190
+ ### EgoBody
 
191
 
192
+ **Request access & download:** [https://sanweiliti.github.io/egobody/egobody.html](https://sanweiliti.github.io/egobody/egobody.html)
193
+ Sign the license and download the `kinect_color` folder, which holds per-recording
194
+ image frames organised by camera (`master`, `sub_1`, `sub_2`).
195
 
196
  ```
197
  "data": "recording_20211004_S19_S06_01/sub_1/"
198
+ -> <EGOBODY_ROOT>/kinect_color/recording_20211004_S19_S06_01/sub_1/
199
  ```
200
 
201
+ > **Split videos:** Some entries have a `video_id` with a `_partNN` suffix, for
202
+ > example `recording_20211004_S19_S06_01_sub1_part02`. This means the questions were
 
 
 
 
 
 
203
  > generated on a temporal segment of the full recording. `source_video_id` gives the
204
  > full recording, and `source_video_start` / `source_video_end` give the time range
205
  > within it. All image frames are still found under the same `data` path.
206
 
207
+ ### 3DPW
 
 
 
 
208
 
209
  **Download:** Download the image sequence archive (`imageFiles.zip`) and extract it.
210
 
 
 
 
211
  ```
212
  "data": "courtyard_backpack_00/"
213
+ -> <3DPW_ROOT>/imageFiles/courtyard_backpack_00/
214
  ```
215
 
216
+ > **Clip videos:** Some entries have a `video_id` with a `_clipN` suffix, for example
217
+ > `downtown_bus_00_clip0`. The frames live under the unsuffixed sequence directory,
218
+ > so `data` is `downtown_bus_00/`.
 
 
 
 
 
 
 
 
 
 
219
 
220
+ ### SLOPER4D
221
 
222
  **Download:** Download the SLOPER4D dataset and extract the RGB clips.
223
 
 
 
 
224
  ```
225
  "data": "seq002_football_001/seq002_football_001_c000/"
226
+ -> <SLOPER4D_ROOT>/clips/seq002_football_001/seq002_football_001_c000/
227
  ```
228
 
229
+ ## Loading
230
 
231
+ ```python
232
+ from datasets import load_dataset
233
+
234
+ ds = load_dataset("humanmovevqa/HumanMoveVQA", "default")
235
+ print(ds["test_emdb"][0])
236
  ```
237
+
238
+ ## Citation
239
+
240
+ If you use this dataset, please cite the HumanMoveVQA paper and the source datasets
241
+ you use. See the paper for the full reference list.
242
+
243
+ ## Generation pipeline
244
+
245
+ The code that builds this dataset is at
246
+ [github.com/humanmovevqa/HumanMove_VQA](https://github.com/humanmovevqa/HumanMove_VQA).