wzlllong commited on
Commit
71bd197
·
verified ·
1 Parent(s): 11d840f

Restore the original separate English and Chinese dataset cards

Browse files
Files changed (2) hide show
  1. README.md +141 -139
  2. README_zh.md +142 -140
README.md CHANGED
@@ -19,44 +19,43 @@ tags:
19
 
20
  **English** · [简体中文](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/README_zh.md)
21
 
22
- Expert demonstrations for **robotic value models**, covering **real-world** and **simulation** manipulation. Each domain offers two demonstration settings: **Full-Shot** for training or fine-tuning, and **One-Shot** for reference conditioning or task-specific adaptation.
23
 
24
- **LeRobot Dataset v3.0** is the shared release format. Full-Shot means **100 episodes per task**; One-Shot means **one episode per task**, selected from the corresponding Full-Shot pool—not an additional collection.
25
 
26
- [Preview](#1-demonstration-preview) · [Real-world](#2-real-world) · [Simulation](#3-simulation) · [Quick start](#4-quick-start) · [Format](#5-format-and-repository) · [Selection protocol](#6-collection-and-selection)
27
 
28
- ## 1. Demonstration Preview
29
 
30
- <video controls muted playsinline preload="none" width="640" height="400" poster="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/resolve/main/assets/previews/real-world-task-00.jpg">
31
- <source src="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/resolve/main/assets/previews/real-world-task-00.mp4" type="video/mp4">
32
- </video>
33
 
34
- **Transfer Blocks Using Plate** · task 0 · episode 0 · head camera · 23.17 seconds. [Open the video](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/resolve/main/assets/previews/real-world-task-00.mp4).
 
 
 
35
 
36
- This is a complete episode from the released real-world training data. A simulation preview will accompany that domain's release; no synthetic or unrelated demo is shown here.
 
 
 
 
 
 
 
37
 
38
  ## 2. Real-World
39
 
40
- <img src="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/resolve/main/assets/domain-real-world.svg" width="24" height="24" alt=""> **G2A · physical robot demonstrations**
41
 
42
- **20 manipulation tasks**, covering object placement and sorting, household organization, drawers, repeated presses, kitchen activities, and packaging. Choose this domain for value models grounded in real visual observations and physical interaction.
43
 
44
- <table width="100%">
45
- <thead>
46
- <tr><th scope="col" width="20%">Setting</th><th scope="col" width="40%">Full-Shot</th><th scope="col" width="40%">One-Shot</th></tr>
47
- </thead>
48
- <tbody>
49
- <tr><th scope="row">Tasks</th><td>20</td><td>20</td></tr>
50
- <tr><th scope="row">Episodes</th><td><strong>2,000</strong><br>100 per task</td><td><strong>20</strong><br>1 per task</td></tr>
51
- <tr><th scope="row">Download size</th><td><strong>≈23.23 GB</strong></td><td>To be specified</td></tr>
52
- <tr><th scope="row">Use for</th><td>Training / fine-tuning</td><td>Reference / adaptation</td></tr>
53
- <tr><th scope="row">Availability</th><td><strong>Available</strong></td><td>Reserved</td></tr>
54
- <tr><th scope="row">Open</th><td><a href="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/full-shot">Browse files</a> · <a href="#4-quick-start">Quick start</a></td><td><a href="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/one-shot">Subset directory</a> · <a href="#6-collection-and-selection">Selection protocol</a></td></tr>
55
- </tbody>
56
- </table>
57
 
58
  <details>
59
- <summary><strong>Real-world task catalog: all 20 tasks and short descriptions</strong></summary>
60
 
61
  Indices match the training data's `task_index`. Display names and descriptions follow Appendix D of the RoboValue paper; the original task strings in `meta/tasks.parquet` are retained.
62
 
@@ -85,81 +84,112 @@ Indices match the training data's `task_index`. Display names and descriptions f
85
 
86
  </details>
87
 
88
- ## 3. Simulation
89
 
90
- <img src="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/resolve/main/assets/domain-simulation.svg" width="24" height="24" alt=""> **Simulated manipulation · 15 tasks**
91
 
92
- For value-model experiments and reference conditioning in simulated environments. Both settings follow the same LeRobot v3.0 release specification; the robot, cameras, and state/action schema will be documented for this domain rather than inferred from G2A.
93
 
94
- <table width="100%">
95
- <thead>
96
- <tr><th scope="col" width="20%">Setting</th><th scope="col" width="40%">Full-Shot</th><th scope="col" width="40%">One-Shot</th></tr>
97
- </thead>
98
- <tbody>
99
- <tr><th scope="row">Tasks</th><td>15</td><td>15</td></tr>
100
- <tr><th scope="row">Episodes</th><td><strong>1,500</strong><br>100 per task</td><td><strong>15</strong><br>1 per task</td></tr>
101
- <tr><th scope="row">Download size</th><td>To be specified</td><td>To be specified</td></tr>
102
- <tr><th scope="row">Use for</th><td>Training / fine-tuning</td><td>Reference / adaptation</td></tr>
103
- <tr><th scope="row">Availability</th><td>Reserved</td><td>Reserved</td></tr>
104
- <tr><th scope="row">Open</th><td><a href="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/full-shot">Browse files</a></td><td><a href="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/one-shot">Subset directory</a> · <a href="#6-collection-and-selection">Selection protocol</a></td></tr>
105
- </tbody>
106
- </table>
107
 
108
- **Reading the counts:** only real-world Full-Shot currently contains trajectory files. Reserved counts describe the defined scope, not downloadable data. One-Shot reuses Full-Shot episodes, so do not add its counts when reporting unique demonstrations; unreleased download sizes are not estimated.
 
 
 
 
 
 
 
 
109
 
 
110
 
111
- ## 4. Quick Start
112
 
113
- **Load the available real-world Full-Shot subset.** Public downloads need no token; the complete subset, including videos, is approximately **23.23 GB**.
114
 
115
- Python **3.10+**; reader verified with **LeRobot 0.4.2** and **PyAV 15.1.0**. **Dataset v3.0 is the format version, not a software package named LeRobot 3.0.**
 
 
 
 
 
116
 
117
- ```bash
118
- pip install "lerobot==0.4.2" "av==15.1.0"
119
- ```
120
 
121
- ```python
122
- from pathlib import Path
123
 
124
- from huggingface_hub import HfApi, snapshot_download
125
- from lerobot.datasets.lerobot_dataset import LeRobotDataset
126
 
127
- repo_id = "wzlllong/value-model-benchmark-training-data"
128
- prefix = "data/real-world/full-shot"
129
- revision = HfApi(token=False).dataset_info(repo_id).sha
130
- snapshot = snapshot_download(
131
- repo_id=repo_id,
132
- repo_type="dataset",
133
- revision=revision,
134
- allow_patterns=[f"{prefix}/**"],
135
- token=False,
136
- )
137
- dataset = LeRobotDataset(
138
- repo_id=repo_id,
139
- root=Path(snapshot) / prefix,
140
- revision=revision,
141
- video_backend="pyav",
142
- )
143
- sample = dataset[0]
144
- print(dataset.num_episodes, dataset.num_frames)
145
- print(sample["action"].shape, sample["observation.state"].shape)
146
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
 
148
- Expected: **2,000 episodes**, **1,530,987 time steps**, `action` shape **[52]**, and `observation.state` shape **[290]**. `dataset[0]` returns one time step, not an entire episode; LeRobot resolves its camera frames from the video metadata.
 
 
 
 
 
 
 
 
 
 
 
149
 
150
- The example pins the same repository revision for download and reading, and downloads only the chosen subset. A **subset directory** is the LeRobot `root`, not the whole repository. Reserved directories cannot be loaded yet.
151
 
152
- ## 5. Format and Repository
153
 
154
- ### 5.1 Shared LeRobot v3.0 Structure
155
 
156
- Each released subset is a self-contained dataset: **per-step Parquet data + camera videos + task and episode metadata**. An episode is one complete task demonstration; v3.0 may store multiple episodes in a chunk file, so **one file does not necessarily mean one episode**.
157
 
158
  ```text
159
  README.md English dataset card
160
  README_zh.md Chinese dataset card
161
  subset_catalog.json Machine-readable subset index
162
- assets/ Dataset-card icons and preview only
163
  data/
164
  ├── real-world/
165
  │ ├── full-shot/ Available LeRobot dataset root
@@ -169,7 +199,7 @@ data/
169
  └── one-shot/ Reserved
170
  ```
171
 
172
- The real-world Full-Shot training subset is named **`real-world-full-shot-data`** in [`subset_catalog.json`](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/subset_catalog.json), and lives at `data/real-world/full-shot`. Preview assets are not extra training episodes. Reserved directories contain only a README.
173
 
174
  <details>
175
  <summary><strong>Format reference: files inside the real-world Full-Shot subset</strong></summary>
@@ -191,73 +221,45 @@ Camera feature keys are `observation.images.cam_high`, `observation.images.cam_l
191
 
192
  </details>
193
 
194
- ### 5.2 Real-World Full-Shot: Signals and Statistics
195
-
196
- These field definitions apply to **G2A real-world Full-Shot**, not automatically to future simulation data or other robots. Consult each released subset's `meta/info.json` for its own schema.
197
-
198
- | Signal / statistic | Representation |
199
- | --- | --- |
200
- | Sampling | **30 FPS**, **1,530,987** time steps |
201
- | Duration | **≈14.18 hours** total; **≈25.52 seconds** per episode on average |
202
- | RGB observations | **3 views**: head **640 × 400**; left and right wrist **640 × 528** each; CHW image metadata |
203
- | `action` | **float32[52]**: joint targets **and** end-effector target poses, plus gripper, head, waist, and base-control fields |
204
- | `observation.state` | **float32[290]**: joint and end-effector state, including position, orientation, velocity, torque/force, and auxiliary fields |
205
-
206
- **End-effector action targets are computed by forward kinematics from joint actions, not independent Cartesian teleoperation commands.** End-effector positions use meters in `base_link`; orientations use XYZW quaternions. Gripper values are not normalized. Do not treat all 52 action values as joint angles.
207
-
208
- Each step includes `episode_index`, `task_index`, `frame_index`, and `timestamp` in seconds. Episode metadata provides length, data-row boundaries, and per-camera video offsets. Duration and time steps count each trajectory once, not once per camera.
209
-
210
- <details>
211
- <summary><strong>Action reference: all 52 dimensions</strong></summary>
212
-
213
- Python slices are stop-exclusive.
214
-
215
- | Slice | Meaning |
216
- | --- | --- |
217
- | `[0:2]` | Left/right effector target opening or stroke |
218
- | `[2:8]` | Arm end-effector target XYZ positions, m, `base_link` |
219
- | `[8:16]` | Arm end-effector target XYZW orientations, `base_link` |
220
- | `[16:30]` | Arm joint target positions, rad |
221
- | `[30:33]` | Head joint target positions, rad |
222
- | `[33:38]` | Waist joint target positions, rad |
223
- | `[38:44]` | Base target XYZ linear and XYZ angular velocity |
224
- | `[44:48]` | Left reference-pose XYZW quaternion |
225
- | `[48:52]` | Right reference-pose XYZW quaternion |
226
-
227
- The last two reference orientations are distinct from the end-effector target orientations. Fields with `dimensions: 0` and `indices: []` do not occupy the vector. Full definitions are in [`meta/info.json`](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/data/real-world/full-shot/meta/info.json).
228
 
229
- </details>
230
 
231
- <details>
232
- <summary><strong>State reference: key fields in the 290-dimensional vector</strong></summary>
233
 
234
- | Slice | Meaning |
235
- | --- | --- |
236
- | `[0:2]` | Left/right effector state |
237
- | `[2:26]` | End-effector force/torque fields |
238
- | `[26:32]` | Arm end-effector XYZ positions, m, `base_link` |
239
- | `[32:56]` | End-effector linear/angular velocity fields |
240
- | `[56:64]` | Arm end-effector XYZW orientations, `base_link` |
241
- | `[108:122]` | Arm joint positions, rad |
242
- | `[122:136]` | Arm joint torques, Nm |
243
- | `[136:150]` | Arm joint velocities, rad/s |
244
- | `[164:176]` | Head joint positions, velocities, efforts, and modes |
245
- | `[176:196]` | Waist joint positions, velocities, efforts, and modes |
246
- | `[196:203]` | Robot position and orientation in `odom` |
247
 
248
- This is a key-field summary, not the entire vector. Additional pose, mode, operator, camera-extrinsic, and reference fields are defined in [`meta/info.json`](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/data/real-world/full-shot/meta/info.json).
 
249
 
250
- </details>
 
251
 
252
- ## 6. Collection and Selection
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
 
254
- - **Training pool:** standard in-domain expert demonstrations, **100 episodes per task**. The released real-world split is `train: 0:2000`; diagnostic and OOD evaluation trajectories are not included.
255
- - **One-Shot unit:** **one complete episode per task**, not per object, scene, or camera. The real-world and simulation selections come from their respective Full-Shot pools and are not independent additional demonstrations.
256
- - **Official selection:** the selected `episode_index` values and Full-Shot correspondence have not been released. Choosing your own episode is valid for a custom experiment, but does not reproduce the official One-Shot setting.
257
- - **Supervision:** there are **no extra scalar reward or value-target labels**. Your method must define its supervision or target construction.
258
 
259
- ## 7. License and Citation
260
 
261
  **License:** no data license has been specified. Confirm applicable terms before use or redistribution.
262
-
263
- For research context and the paper, see the [RoboValue project page](https://robovalue-benchmark.github.io/): *RoboValue: A Fine-Grained Sim-and-Real Benchmark for Unified Evaluation of Robotic Value Models* (Liu et al.). When using the data, reference the [dataset repository](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data) and the repository revision used in your experiment.
 
19
 
20
  **English** · [简体中文](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/README_zh.md)
21
 
22
+ Expert demonstrations for **robotic value models**, covering real-world and simulated manipulation tasks. Each domain has two demonstration-access settings: **Full-Shot** for training or fine-tuning, and **One-Shot** for a single task-specific reference or adaptation example.
23
 
24
+ The common release format is **LeRobot Dataset v3.0**: per-step Parquet data, camera videos, and task/episode metadata. Robot platforms, cameras, and state/action schemas are specified separately for each subset.
25
 
26
+ **Available now: Real-World Full-Shot — 2,000 episodes across 20 tasks.** The other three subsets have reserved directories and defined sizes, but do not yet contain trajectory files.
27
 
28
+ [Real-world data](#2-real-world) · [Simulation](#3-simulation) · [Quick start](#5-download-and-reading) · [Repository files](#4-repository-layout)
29
 
30
+ ## 1. Dataset Overview
 
 
31
 
32
+ | Domain | Tasks | Full-Shot | One-Shot |
33
+ | --- | ---: | ---: | ---: |
34
+ | [Real-World](#2-real-world) | 20 | **2,000** | 20<sup>†</sup> |
35
+ | [Simulation](#3-simulation) | 15 | 1,500<sup>†</sup> | 15<sup>†</sup> |
36
 
37
+ Counts are **episodes**, not video files or individual camera views. Full-Shot provides **100 episodes per task**; One-Shot selects **one episode per task from the same Full-Shot pool**, rather than adding independently collected demonstrations. † denotes the defined size of a reserved subset.
38
+
39
+ **Which setting should I use?**
40
+
41
+ - **Full-Shot:** learn or fine-tune task-conditioned value/progress representations using the full demonstration collection.
42
+ - **One-Shot:** condition a model on one reference demonstration, or perform task-specific adaptation under a one-example budget.
43
+
44
+ This repository contains **standard in-domain training demonstrations**, not the paper's diagnostic or OOD evaluation trajectories. It does **not** supply extra scalar reward or value-target labels; your training method must define its own supervision or target construction.
45
 
46
  ## 2. Real-World
47
 
48
+ ### 2.1 Overview
49
 
50
+ Real robot demonstrations collected with **G2A**, covering **20 manipulation tasks**. The tasks include object placement and sorting, household organization, drawers, repeated presses, kitchen activities, and packaging. Choose this domain when you need value-model training or reference demonstrations grounded in real visual observations and physical interaction.
51
 
52
+ | Setting | Per task | Episodes | Data |
53
+ | --- | ---: | ---: | --- |
54
+ | [**Full-Shot**](#22-full-shot) | 100 | **2,000** | [Files](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/full-shot) |
55
+ | [One-Shot](#23-one-shot) | 1 | 20 | [Reserved](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/one-shot) |
 
 
 
 
 
 
 
 
 
56
 
57
  <details>
58
+ <summary><strong>Task catalog: all 20 tasks and short descriptions</strong></summary>
59
 
60
  Indices match the training data's `task_index`. Display names and descriptions follow Appendix D of the RoboValue paper; the original task strings in `meta/tasks.parquet` are retained.
61
 
 
84
 
85
  </details>
86
 
87
+ ### 2.2 Full-Shot
88
 
89
+ **Use for training or fine-tuning with all 100 demonstrations per task.** This is the currently available real-world training subset.
90
 
91
+ [Download and read](#5-download-and-reading) · [Browse files](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/full-shot) · [Feature definitions](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/data/real-world/full-shot/meta/info.json)
92
 
93
+ **Key statistics**
 
 
 
 
 
 
 
 
 
 
 
 
94
 
95
+ | Item | Value |
96
+ | --- | --- |
97
+ | Coverage | **20 tasks × 100 episodes = 2,000 episodes** |
98
+ | Time steps / sampling | **1,530,987** at **30 FPS** |
99
+ | Trajectory duration | **≈14.18 hours** total; **≈25.52 seconds** per episode on average |
100
+ | Cameras | **3 RGB views:** head, left wrist, right wrist |
101
+ | Resolution | Head **640 × 400**; each wrist **640 × 528** |
102
+ | Storage | **≈23.23 GB**; Parquet + HEVC video |
103
+ | Split | `train: 0:2000` |
104
 
105
+ Duration and time steps count the trajectory once, not three times for the cameras.
106
 
107
+ **What does one trajectory contain?**
108
 
109
+ An **episode** is a complete task demonstration: task/episode identifiers, per-step robot observations and actions, and three camera streams. Episode metadata records its length, data-row boundaries, and video segments. In v3.0, episodes may share chunk files; a file is not necessarily one episode.
110
 
111
+ | Signal | Representation |
112
+ | --- | --- |
113
+ | `action` | **52 float32 values:** joint targets **and** end-effector target poses, plus gripper, head, waist, and base-control fields |
114
+ | `observation.state` | **290 float32 values:** joint and end-effector state, including position, orientation, velocity, torque/force, and auxiliary fields |
115
+ | RGB observations | Head, left-wrist, and right-wrist images; video features use CHW metadata |
116
+ | Identity and time | `episode_index`, `task_index`, `frame_index`, and per-step `timestamp` in seconds |
117
 
118
+ **End-effector action targets are computed by forward kinematics from joint actions, not independent teleoperation pose commands.** End-effector positions use meters in `base_link`; orientations use XYZW quaternions. Gripper values are not normalized. Select the representation your model expects; do not assume that all 52 action values are joint angles.
 
 
119
 
120
+ <details>
121
+ <summary><strong>Action reference: all 52 dimensions</strong></summary>
122
 
123
+ Python slices are stop-exclusive.
 
124
 
125
+ | Slice | Meaning |
126
+ | --- | --- |
127
+ | `[0:2]` | Left/right effector target opening or stroke |
128
+ | `[2:8]` | Arm end-effector target XYZ positions, m, `base_link` |
129
+ | `[8:16]` | Arm end-effector target XYZW orientations, `base_link` |
130
+ | `[16:30]` | Arm joint target positions, rad |
131
+ | `[30:33]` | Head joint target positions, rad |
132
+ | `[33:38]` | Waist joint target positions, rad |
133
+ | `[38:44]` | Base target XYZ linear and XYZ angular velocity |
134
+ | `[44:48]` | Left reference-pose XYZW quaternion |
135
+ | `[48:52]` | Right reference-pose XYZW quaternion |
136
+
137
+ The last two reference orientations are distinct from the end-effector target orientations. Fields with `dimensions: 0` and `indices: []` do not occupy the vector. Full definitions are in [`meta/info.json`](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/data/real-world/full-shot/meta/info.json).
138
+
139
+ </details>
140
+
141
+ <details>
142
+ <summary><strong>State reference: key fields in the 290-dimensional vector</strong></summary>
143
+
144
+ | Slice | Meaning |
145
+ | --- | --- |
146
+ | `[0:2]` | Left/right effector state |
147
+ | `[2:26]` | End-effector force/torque fields |
148
+ | `[26:32]` | Arm end-effector XYZ positions, m, `base_link` |
149
+ | `[32:56]` | End-effector linear/angular velocity fields |
150
+ | `[56:64]` | Arm end-effector XYZW orientations, `base_link` |
151
+ | `[108:122]` | Arm joint positions, rad |
152
+ | `[122:136]` | Arm joint torques, Nm |
153
+ | `[136:150]` | Arm joint velocities, rad/s |
154
+ | `[164:176]` | Head joint positions, velocities, efforts, and modes |
155
+ | `[176:196]` | Waist joint positions, velocities, efforts, and modes |
156
+ | `[196:203]` | Robot position and orientation in `odom` |
157
+
158
+ This is a key-field summary, not the entire vector. Additional pose, mode, operator, camera-extrinsic, and reference fields are defined in [`meta/info.json`](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/data/real-world/full-shot/meta/info.json).
159
+
160
+ </details>
161
+
162
+ ### 2.3 One-Shot
163
+
164
+ **Use for one-reference conditioning or task-specific adaptation.** The setting selects one episode for each of the same **20 real-world tasks**, for **20 episodes** in total. These are selected from Full-Shot, not an additional task collection.
165
+
166
+ The [One-Shot directory](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/one-shot) is reserved; its trajectory files and episode selection are not yet released. Until then, the [Full-Shot quick start](#5-download-and-reading) is the available entry point. Choosing your own single episode does not reproduce the official One-Shot selection.
167
 
168
+ ## 3. Simulation
169
+
170
+ ### 3.1 Overview
171
+
172
+ The simulation domain covers **15 manipulation tasks**. Choose it for value-model experiments and demonstration conditioning in simulated environments. It follows the same Full-Shot/One-Shot organization and LeRobot Dataset v3.0 release specification, but its robot, cameras, and state/action schema must be read from its own subset metadata rather than inferred from G2A.
173
+
174
+ | Setting | Per task | Episodes | Data |
175
+ | --- | ---: | ---: | --- |
176
+ | [Full-Shot](#32-full-shot) | 100 | 1,500 | [Reserved](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/full-shot) |
177
+ | [One-Shot](#33-one-shot) | 1 | 15 | [Reserved](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/one-shot) |
178
+
179
+ ### 3.2 Full-Shot
180
 
181
+ **15 tasks × 100 demonstrations = 1,500 episodes.** Intended for training or fine-tuning with the complete simulation demonstration pool. The [directory](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/full-shot) is reserved; trajectory statistics and the task/schema catalog will accompany the data release.
182
 
183
+ ### 3.3 One-Shot
184
 
185
+ **15 tasks × 1 demonstration = 15 episodes.** Intended for single-reference conditioning or task-specific adaptation, using one selection per task from simulation Full-Shot. The [directory](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/one-shot) is reserved. There is no simulation subset to load yet.
186
 
187
+ ## 4. Repository Layout
188
 
189
  ```text
190
  README.md English dataset card
191
  README_zh.md Chinese dataset card
192
  subset_catalog.json Machine-readable subset index
 
193
  data/
194
  ├── real-world/
195
  │ ├── full-shot/ Available LeRobot dataset root
 
199
  └── one-shot/ Reserved
200
  ```
201
 
202
+ **A released subset directory is the LeRobot `root`; the repository root is not.** The reserved directories currently contain only a README.
203
 
204
  <details>
205
  <summary><strong>Format reference: files inside the real-world Full-Shot subset</strong></summary>
 
221
 
222
  </details>
223
 
224
+ ## 5. Download and Reading
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
 
226
+ **Quick start — currently available Real-World Full-Shot.** Public downloads require no token. The full subset is approximately **23.23 GB**, including videos.
227
 
228
+ Use Python **3.10+** and a v3.0-compatible reader. The example is verified with **LeRobot 0.4.2** and **PyAV 15.1.0**; **Dataset v3.0 is the data format, not a package named LeRobot 3.0**.
 
229
 
230
+ ```bash
231
+ pip install "lerobot==0.4.2" "av==15.1.0"
232
+ ```
 
 
 
 
 
 
 
 
 
 
233
 
234
+ ```python
235
+ from pathlib import Path
236
 
237
+ from huggingface_hub import HfApi, snapshot_download
238
+ from lerobot.datasets.lerobot_dataset import LeRobotDataset
239
 
240
+ repo_id = "wzlllong/value-model-benchmark-training-data"
241
+ prefix = "data/real-world/full-shot"
242
+ revision = HfApi(token=False).dataset_info(repo_id).sha
243
+ snapshot = snapshot_download(
244
+ repo_id=repo_id,
245
+ repo_type="dataset",
246
+ revision=revision,
247
+ allow_patterns=[f"{prefix}/**"],
248
+ token=False,
249
+ )
250
+ dataset = LeRobotDataset(
251
+ repo_id=repo_id,
252
+ root=Path(snapshot) / prefix,
253
+ revision=revision,
254
+ video_backend="pyav",
255
+ )
256
+ sample = dataset[0]
257
+ print(dataset.num_episodes, dataset.num_frames)
258
+ print(sample["action"].shape, sample["observation.state"].shape)
259
+ ```
260
 
261
+ Expected: **2,000 episodes**, **1,530,987 time steps**, `action` shape **[52]**, and `observation.state` shape **[290]**. `dataset[0]` reads one time step, not an entire episode. LeRobot resolves the corresponding camera frames from video metadata.
 
 
 
262
 
263
+ The example pins one repository revision for both download and reading, and downloads only the chosen subset. Do not replace the prefix with a reserved directory: there are no trajectory files to load there yet.
264
 
265
  **License:** no data license has been specified. Confirm applicable terms before use or redistribution.
 
 
README_zh.md CHANGED
@@ -2,44 +2,43 @@
2
 
3
  **简体中文** · [English](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data)
4
 
5
- 本仓库面向**机器人价值模型(value model)**,提供**真实世界**与**仿真世界**操作任务的专家示范。每个领域并列提供两种示范设置:**Full-Shot** 用于训练或微调,**One-Shot** 用于示例参考或任务适配。
6
 
7
- 共用 **LeRobot Dataset v3.0** 发布格式。Full-Shot 为**每任务 100 条轨迹**;One-Shot 为**每任务一条轨迹**,从对应 Full-Shot 中选取,不是额外采集的一组数据。
8
 
9
- [演示预览](#1-演示预览) · [真实世界](#2-真实世界) · [仿真世界](#3-仿真世界) · [快速开始](#4-快速开始) · [数据格式](#5-数据格式与目录) · [选取规则](#6-采集与选取规则)
10
 
11
- ## 1. 演示预览
12
 
13
- <video controls muted playsinline preload="none" width="640" height="400" poster="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/resolve/main/assets/previews/real-world-task-00.jpg">
14
- <source src="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/resolve/main/assets/previews/real-world-task-00.mp4" type="video/mp4">
15
- </video>
16
 
17
- **用托盘转移积木** · 任务 0 · 轨迹 0 · 头部相机 · 23.17 秒。[打开视频](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/resolve/main/assets/previews/real-world-task-00.mp4)。
 
 
 
18
 
19
- 预览来自已发布真机训练集中的一条完整轨迹。仿真预览将随对应数据提供;这里不使用合成或无关的演示代替。
 
 
 
 
 
 
 
20
 
21
  ## 2. 真实世界
22
 
23
- <img src="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/resolve/main/assets/domain-real-world.svg" width="24" height="24" alt=""> **G2A · 真机操作示范**
24
 
25
- **20 个操作任务**,覆盖物体放置与分类、家居整理、抽屉操作、重复按压、厨房操作及包装。需要基于真实视觉观测和物理交互训练价值模型或提供示例参考时,选择这一领域。
26
 
27
- <table width="100%">
28
- <thead>
29
- <tr><th scope="col" width="20%">示范设置</th><th scope="col" width="40%">Full-Shot</th><th scope="col" width="40%">One-Shot</th></tr>
30
- </thead>
31
- <tbody>
32
- <tr><th scope="row">任务数</th><td>20</td><td>20</td></tr>
33
- <tr><th scope="row">轨迹数</th><td><strong>2,000</strong><br>每任务 100 条</td><td><strong>20</strong><br>每任务 1 条</td></tr>
34
- <tr><th scope="row">下载大小</th><td><strong>≈23.23 GB</strong></td><td>待公布</td></tr>
35
- <tr><th scope="row">适用需求</th><td>训练/微调</td><td>示例参考/任务适配</td></tr>
36
- <tr><th scope="row">可用状态</th><td><strong>已发布</strong></td><td>预留</td></tr>
37
- <tr><th scope="row">数据入口</th><td><a href="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/full-shot">浏览文件</a> · <a href="#4-快速开始">快速开始</a></td><td><a href="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/one-shot">子集目录</a> · <a href="#6-采集与选取规则">选取规则</a></td></tr>
38
- </tbody>
39
- </table>
40
 
41
  <details>
42
- <summary><strong>真机任务清单:20 个任务及简要说明</strong></summary>
43
 
44
  索引对应训练数据中的 `task_index`。名称与简述采用 RoboValue 论文附录 D 的任务定义;`meta/tasks.parquet` 中的原始任务字符串保持不变。
45
 
@@ -68,91 +67,122 @@
68
 
69
  </details>
70
 
71
- ## 3. 仿真世界
72
 
73
- <img src="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/resolve/main/assets/domain-simulation.svg" width="24" height="24" alt=""> **仿真操作 · 15 个任务**
74
 
75
- 适用于仿真环境中的价值模型实验与示例参考。两种设置遵循相同的 LeRobot v3.0 发布规范;机器人、相机、状态与动作字段将按此领域单独说明,不能直接套用 G2A 的定义。
76
 
77
- <table width="100%">
78
- <thead>
79
- <tr><th scope="col" width="20%">示范设置</th><th scope="col" width="40%">Full-Shot</th><th scope="col" width="40%">One-Shot</th></tr>
80
- </thead>
81
- <tbody>
82
- <tr><th scope="row">任务数</th><td>15</td><td>15</td></tr>
83
- <tr><th scope="row">轨迹数</th><td><strong>1,500</strong><br>每任务 100 条</td><td><strong>15</strong><br>每任务 1 条</td></tr>
84
- <tr><th scope="row">下载大小</th><td>待公布</td><td>待公布</td></tr>
85
- <tr><th scope="row">适用需求</th><td>训练/微调</td><td>示例参考/任务适配</td></tr>
86
- <tr><th scope="row">可用状态</th><td>预留</td><td>预留</td></tr>
87
- <tr><th scope="row">数据入口</th><td><a href="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/full-shot">浏览文件</a></td><td><a href="https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/one-shot">子集目录</a> · <a href="#6-采集与选取规则">选取规则</a></td></tr>
88
- </tbody>
89
- </table>
90
 
91
- **如何理解数量:**当前只有真机 Full-Shot 含轨迹文件;预留子集的数量表示定义规模,不代表已经可下载。One-Shot 复用 Full-Shot 轨迹,统计独立示范数时不能重复相加;未发布子集的下载大小不作推算。
 
 
 
 
 
 
 
 
92
 
 
93
 
94
- ## 4. 快速开始
95
 
96
- **读取当前可用的真机 Full-Shot。** 公开下载无需 Token;完整子集含视频约 **23.23 GB**。
97
 
98
- 使用 Python **3.10+**;读取示例已用 **LeRobot 0.4.2** 和 **PyAV 15.1.0** 验证。**Dataset v3.0 是数据格式版本,不是名为 LeRobot 3.0 的软件包版本。**
 
 
 
 
 
99
 
100
- ```bash
101
- pip install "lerobot==0.4.2" "av==15.1.0"
102
- ```
103
 
104
- ```python
105
- from pathlib import Path
106
 
107
- from huggingface_hub import HfApi, snapshot_download
108
- from lerobot.datasets.lerobot_dataset import LeRobotDataset
109
 
110
- repo_id = "wzlllong/value-model-benchmark-training-data"
111
- prefix = "data/real-world/full-shot"
112
- revision = HfApi(token=False).dataset_info(repo_id).sha
113
- snapshot = snapshot_download(
114
- repo_id=repo_id,
115
- repo_type="dataset",
116
- revision=revision,
117
- allow_patterns=[f"{prefix}/**"],
118
- token=False,
119
- )
120
- dataset = LeRobotDataset(
121
- repo_id=repo_id,
122
- root=Path(snapshot) / prefix,
123
- revision=revision,
124
- video_backend="pyav",
125
- )
126
- sample = dataset[0]
127
- print(dataset.num_episodes, dataset.num_frames)
128
- print(sample["action"].shape, sample["observation.state"].shape)
129
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
 
131
- 预期:**2,000 条轨迹**、**1,530,987 个时间步**,`action` 维度 **[52]**,`observation.state` 维度 **[290]**。`dataset[0]` 返回一个时间步,不是整条轨迹;LeRobot 根据视频元数据读取对应相机帧。
 
 
 
 
 
 
 
 
 
 
 
132
 
133
- 示例将下载与读取固定到同一仓库版本,只下载所选子集。LeRobot 的 `root` 应为**子集目录**,不是整个仓库;预留目录目前还不能加载。
134
 
135
- ## 5. 数据格式与目录
136
 
137
- ### 5.1 共用的 LeRobot v3.0 结构
138
 
139
- 每个已发布子集都是完整的数据根目录:**逐时间步 Parquet + 相机视频 + 任务与轨迹元数据**。一条 episode 对应一条完整任务示范;v3.0 可以将多条轨迹合并到分块文件,因此**一个文件不一定是一条轨迹**。
140
 
141
  ```text
142
  README.md 英文数据集卡片
143
  README_zh.md 中文数据集卡片
144
  subset_catalog.json 机器可读子集索引
145
- assets/ 仅供数据卡展示的图标与预览
146
  data/
147
  ├── real-world/
148
- │ ├── full-shot/ 已发布的 LeRobot 数据根目录
149
  │ └── one-shot/ 预留
150
  └── simulation/
151
  ├── full-shot/ 预留
152
  └── one-shot/ 预留
153
  ```
154
 
155
- 真机 Full-Shot 训练子集在 [`subset_catalog.json`](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/subset_catalog.json) 中命名为 **`real-world-full-shot-data`**,目录为 `data/real-world/full-shot`。页面预览不计作新增训练轨迹;预留目录只含 README。
156
 
157
  <details>
158
  <summary><strong>格式参考:真机 Full-Shot 子集内部的文件</strong></summary>
@@ -174,73 +204,45 @@ data/
174
 
175
  </details>
176
 
177
- ### 5.2 真机 Full-Shot:信号与统计
178
-
179
- 以下定义适用于 **G2A 真机 Full-Shot**,不直接代表后续仿真数据或其他机器人。各已发布子集的具体字段以其 `meta/info.json` 为准。
180
-
181
- | 信号/统计 | 表示 |
182
- | --- | --- |
183
- | 采样 | **30 FPS**,**1,530,987** 个时间步 |
184
- | 时长 | 总计约 **14.18 小时**;平均每条约 **25.52 秒** |
185
- | RGB 观测 | **3 路**:头部 **640 × 400**;左右腕各 **640 × 528**;图像元数据为 CHW 顺序 |
186
- | `action` | **float32[52]**:同时包含**关节目标与末端目标位姿**,另含夹爪、头部、腰部与底盘控制字段 |
187
- | `observation.state` | **float32[290]**:关节与末端状态,包括位置、朝向、速度、力矩/力及辅助字段 |
188
-
189
- **末端动作目标由关节 action 通过正运动学(FK)计算,不是另一套独立的末端遥操作指令。** 末端位置使用 `base_link` 坐标系与米(m)单位;朝向为 XYZW 四元数。夹爪数值未归一化,不能把全部 52 维动作当作关节角度。
190
-
191
- 每个时间步包含 `episode_index`、`task_index`、`frame_index` 及以秒为单位的 `timestamp`。轨迹元数据记录长度、数据行边界与各相机视频偏移。时长和时间步按轨迹统计,不因三路相机重复计数。
192
-
193
- <details>
194
- <summary><strong>动作参考:52 维完整索引</strong></summary>
195
-
196
- 以下为 Python 切片,右端不包含在内。
197
-
198
- | 切片 | 含义 |
199
- | --- | --- |
200
- | `[0:2]` | 左右执行器目标开度或行程 |
201
- | `[2:8]` | 双臂末端目标 XYZ 位置,m,`base_link` |
202
- | `[8:16]` | 双臂末端目标 XYZW 朝向,`base_link` |
203
- | `[16:30]` | 双臂关节目标角度,rad |
204
- | `[30:33]` | 头部关节目标角度,rad |
205
- | `[33:38]` | 腰部关节目标角度,rad |
206
- | `[38:44]` | 底盘目标 XYZ 线速度与 XYZ 角速度 |
207
- | `[44:48]` | 左参考姿态 XYZW 四元数 |
208
- | `[48:52]` | 右参考姿态 XYZW 四元数 |
209
-
210
- 最后两项参考朝向不同于末端目标朝向。`dimensions: 0` 且 `indices: []` 的字段不占用向量。完整定义见 [`meta/info.json`](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/data/real-world/full-shot/meta/info.json)。
211
 
212
- </details>
213
 
214
- <details>
215
- <summary><strong>状态参考:290 维向量的主要字段</strong></summary>
216
 
217
- | 切片 | 含义 |
218
- | --- | --- |
219
- | `[0:2]` | 左右执行器状态 |
220
- | `[2:26]` | 末端力与力矩字段 |
221
- | `[26:32]` | 双臂末端 XYZ 位置,m,`base_link` |
222
- | `[32:56]` | 末端线速度与角速度字段 |
223
- | `[56:64]` | 双臂末端 XYZW 朝向,`base_link` |
224
- | `[108:122]` | 双臂关节角度,rad |
225
- | `[122:136]` | 双臂关节力矩,Nm |
226
- | `[136:150]` | 双臂关节速度,rad/s |
227
- | `[164:176]` | 头部关节位置、速度、力矩与模式 |
228
- | `[176:196]` | 腰部关节位置、速度、力矩与模式 |
229
- | `[196:203]` | 机器人在 `odom` 下的位置与朝向 |
230
 
231
- 这里是主要字段摘要,并非全部 290 维。其他位姿、模式、操作员、相机外参及参考字段,以 [`meta/info.json`](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/data/real-world/full-shot/meta/info.json) 为准。
 
232
 
233
- </details>
 
234
 
235
- ## 6. 采集与选取规则
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
 
237
- - **训练池:**标准域内专家示范,**每任务 100 条**。已发布真机划分为 `train: 0:2000`;不含诊断轨迹或分布外(OOD)评测轨迹。
238
- - **One-Shot 的一条:每个任务一条完整轨迹**,不是按物体、场景或相机计算。真机与仿真分别从各自 Full-Shot 中选取,不是独立新增的数据。
239
- - **正式选取:**所选 `episode_index` 及其 Full-Shot 对应关系尚未发布。可以自行选取用于自定义实验,但不等于复现正式 One-Shot 设置。
240
- - **监督信号:**数据**不额外提供标量奖励或价值目标标签**,训练监督与目标构造由所用方法自行定义。
241
 
242
- ## 7. 许可证与引用
243
 
244
  **许可:**数据许可尚未指定,使用或再分发前请确认适用条款。
245
-
246
- 研究背景与论文见 [RoboValue 项目主页](https://robovalue-benchmark.github.io/):*RoboValue: A Fine-Grained Sim-and-Real Benchmark for Unified Evaluation of Robotic Value Models*(Liu 等)。使用数据时,请注明[数据集仓库](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data)及实验采用的仓库版本。
 
2
 
3
  **简体中文** · [English](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data)
4
 
5
+ 本仓库面向**机器人价值模型(value model)**,提供真实世界与仿真操作任务的专家示例。每个领域均分为两种示例使用设置:**Full-Shot** 用于完整示例训练或微调,**One-Shot** 用于单条任务参考或单示例适配。
6
 
7
+ 各子集统一以 **LeRobot Dataset v3.0** 作为发布格式:逐时间步 Parquet 数据、相机视频,以及任务和轨迹元数据。不同子集的机器人、相机、状态与动作字段以各自说明为准,不要求跨平台完全相同。
8
 
9
+ **当前可用:真机 Full-Shot,20 个任务,共 2,000 条轨迹。** 其他三类已预留目录并定义规模,目前尚无轨迹文件。
10
 
11
+ [真实世界](#2-真实世界) · [仿真世界](#3-仿真世界) · [快速开始](#5-下载与读取) · [仓库目录](#4-仓库目录)
12
 
13
+ ## 1. 数据总览
 
 
14
 
15
+ | 领域 | 任务数 | Full-Shot | One-Shot |
16
+ | --- | ---: | ---: | ---: |
17
+ | [真实世界](#2-真实世界) | 20 | **2,000** | 20<sup>†</sup> |
18
+ | [仿真世界](#3-仿真世界) | 15 | 1,500<sup>†</sup> | 15<sup>†</sup> |
19
 
20
+ 表中数量均为**轨迹条数**,不是视频文件数或相机视角数。Full-Shot **每任务 100 条**;One-Shot **从对应 Full-Shot 集合中每任务选择 1 条**,不是额外采集的数据。† 表示预留子集的定义规模。
21
+
22
+ **什么时候使用哪一种设置?**
23
+
24
+ - **Full-Shot:**使用完整专家示例集合,训练或微调任务条件下的价值、进度等表征。
25
+ - **One-Shot:**以一条任务示例作为模型参考条件,或在单示例预算下进行任务适配。
26
+
27
+ 本仓库是**标准域内训练示例集**,不包含论文中的诊断轨迹或分布外(OOD)评测轨迹。数据**不额外提供标量奖励或价值目标标签**,训练监督与目标构造需由所用方法自行定义。
28
 
29
  ## 2. 真实世界
30
 
31
+ ### 2.1 总览
32
 
33
+ 真实世界数据由 **G2A 机器人**采集,包含 **20 个操作任务**,覆盖物体放置与分类、家居整理、抽屉操作、重复按压、厨房操作及包装。需要基于真实视觉观测和物理交互进行价值模型训练或示例参考时,选择这一领域。
34
 
35
+ | 设置 | 每任务 | 总轨迹数 | 数据 |
36
+ | --- | ---: | ---: | --- |
37
+ | [**Full-Shot**](#22-full-shot) | 100 | **2,000** | [文件](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/full-shot) |
38
+ | [One-Shot](#23-one-shot) | 1 | 20 | [预留](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/one-shot) |
 
 
 
 
 
 
 
 
 
39
 
40
  <details>
41
+ <summary><strong>任务清单:20 个任务及简要说明</strong></summary>
42
 
43
  索引对应训练数据中的 `task_index`。名称与简述采用 RoboValue 论文附录 D 的任务定义;`meta/tasks.parquet` 中的原始任务字符串保持不变。
44
 
 
67
 
68
  </details>
69
 
70
+ ### 2.2 Full-Shot
71
 
72
+ **用于每任务 100 条完整示例的训练或微调。** 这是当前可用的真机训练子集。
73
 
74
+ [下载与读取](#5-下载与读取) · [浏览文件](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/full-shot) · [字段定义](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/data/real-world/full-shot/meta/info.json)
75
 
76
+ **关键统计**
 
 
 
 
 
 
 
 
 
 
 
 
77
 
78
+ | 项目 | 数值 |
79
+ | --- | --- |
80
+ | 规模 | **20 个任务 × 100 条 = 2,000 条轨迹** |
81
+ | 时间步与采样率 | **1,530,987** 个时间步,**30 FPS** |
82
+ | 轨迹时长 | 总计约 **14.18 小时**;平均每条约 **25.52 秒** |
83
+ | 相机 | **3 路 RGB:**头部、左腕、右腕 |
84
+ | 分辨率 | 头部 **640 × 400**;每个腕部 **640 × 528** |
85
+ | 存储 | 约 **23.23 GB**;Parquet + HEVC 视频 |
86
+ | 划分 | `train: 0:2000` |
87
 
88
+ 时长与时间步按轨迹统计,不因三路相机重复计数。
89
 
90
+ **一条轨迹包含什么?**
91
 
92
+ 一条 **episode** 对应一条完整的任务示例,包含任务与轨迹标识、逐时间步的机器人观测和动作,以及三路相机视频。轨迹元数据记录长度、数据行边界与视频片段位置。v3.0 允许多条轨迹共用分块文件,因此不能简单把一个文件当作一条轨迹。
93
 
94
+ | 信号 | 表示 |
95
+ | --- | --- |
96
+ | `action` | **52 维 float32:**同时包含**关节目标与末端目标位姿**,另含夹爪、头部、腰部和底盘控制字段 |
97
+ | `observation.state` | **290 维 float32:**关节与末端状态,包括位置、朝向、速度、力矩/力及辅助字段 |
98
+ | RGB 观测 | 头部、左腕、右腕图像;视频字段的图像元数据使用 CHW 顺序 |
99
+ | 标识与时间 | `episode_index`、`task_index`、`frame_index`,以及单位为秒的逐帧 `timestamp` |
100
 
101
+ **末端动作目标由关节 action 通过正运动学(FK)计算,不是另一套独立的遥操作末端指令。** 末端位置以 `base_link` 为坐标系,单位 m;朝向为 XYZW 四元数。夹爪数值未归一化。使用时应选择模型所需的表示,不能把全部 52 维动作都当成关节角度。
 
 
102
 
103
+ <details>
104
+ <summary><strong>动作参考:52 维完整索引</strong></summary>
105
 
106
+ 以下为 Python 切片,右端不包含在内。
 
107
 
108
+ | 切片 | 含义 |
109
+ | --- | --- |
110
+ | `[0:2]` | 左右执行器目标开度或行程 |
111
+ | `[2:8]` | 双臂末端目标 XYZ 位置,m,`base_link` |
112
+ | `[8:16]` | 双臂末端目标 XYZW 朝向,`base_link` |
113
+ | `[16:30]` | 双臂关节目标角度,rad |
114
+ | `[30:33]` | 头部关节目标角度,rad |
115
+ | `[33:38]` | 腰部关节目标角度,rad |
116
+ | `[38:44]` | 底盘目标 XYZ 线速度与 XYZ 角速度 |
117
+ | `[44:48]` | 左参考姿态 XYZW 四元数 |
118
+ | `[48:52]` | 右参考姿态 XYZW 四元数 |
119
+
120
+ 最后两项参考朝向不同于末端目标朝向。`dimensions: 0` 且 `indices: []` 的字段不占用向量。完整定义见 [`meta/info.json`](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/data/real-world/full-shot/meta/info.json)。
121
+
122
+ </details>
123
+
124
+ <details>
125
+ <summary><strong>状态参考:290 维向量的主要字段</strong></summary>
126
+
127
+ | 切片 | 含义 |
128
+ | --- | --- |
129
+ | `[0:2]` | 左右执行器状态 |
130
+ | `[2:26]` | 末端力与力矩字段 |
131
+ | `[26:32]` | 双臂末端 XYZ 位置,m,`base_link` |
132
+ | `[32:56]` | 末端线速度与角速度字段 |
133
+ | `[56:64]` | 双臂末端 XYZW 朝向,`base_link` |
134
+ | `[108:122]` | 双臂关节角度,rad |
135
+ | `[122:136]` | 双臂关节力矩,Nm |
136
+ | `[136:150]` | 双臂关节速度,rad/s |
137
+ | `[164:176]` | 头部关节位置、速度、力矩与模式 |
138
+ | `[176:196]` | 腰部关节位置、速度、力矩与模式 |
139
+ | `[196:203]` | 机器人在 `odom` 下的位置与朝向 |
140
+
141
+ 这里是主要字段摘要,并非全部 290 维。其他位姿、模式、操作员、相机外参及参考字段,以 [`meta/info.json`](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/blob/main/data/real-world/full-shot/meta/info.json) 为准。
142
+
143
+ </details>
144
+
145
+ ### 2.3 One-Shot
146
+
147
+ **用于单条示例参考或任务适配。** 从相同的 **20 个真机任务**中,每任务选择一条 Full-Shot 轨迹,共 **20 条**,不是另一套任务或额外采集的数据。
148
+
149
+ [One-Shot 目录](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/real-world/one-shot)目前为预留位置,轨迹文件与正式示例选择尚未发布。当前可用入口为 [Full-Shot 快速开始](#5-下载与读取);自行挑选一条轨迹不等于复现正式 One-Shot 的示例选择。
150
 
151
+ ## 3. 仿真世界
152
+
153
+ ### 3.1 总览
154
+
155
+ 仿真领域包含 **15 个操作任务**,适用于仿真环境中的价值模型实验与示例参考。组织方式同样为 Full-Shot 与 One-Shot,发布格式同样为 LeRobot Dataset v3.0;具体机器人、相机、状态与动作字段需查看该子集的元数据,不能直接套用 G2A 的字段定义。
156
+
157
+ | 设置 | 每任务 | 总轨迹数 | 数据 |
158
+ | --- | ---: | ---: | --- |
159
+ | [Full-Shot](#32-full-shot) | 100 | 1,500 | [预留](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/full-shot) |
160
+ | [One-Shot](#33-one-shot) | 1 | 15 | [预留](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/one-shot) |
161
+
162
+ ### 3.2 Full-Shot
163
 
164
+ **15 个任务 × 100 条 = 1,500 条轨迹。** 用于完整仿真示例集合的训练或微调。[目录](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/full-shot)已预留,轨迹统计、任务��单与字段说明将随数据发布提供。
165
 
166
+ ### 3.3 One-Shot
167
 
168
+ **15 个任务 × 1 条 = 15 条轨迹。** 从仿真 Full-Shot 中每任务选择一条,用于单示例参考或任务适配。[目录](https://huggingface.co/datasets/wzlllong/value-model-benchmark-training-data/tree/main/data/simulation/one-shot)已预留,目前尚无可读取的仿真子集。
169
 
170
+ ## 4. 仓库目录
171
 
172
  ```text
173
  README.md 英文数据集卡片
174
  README_zh.md 中文数据集卡片
175
  subset_catalog.json 机器可读子集索引
 
176
  data/
177
  ├── real-world/
178
+ │ ├── full-shot/ 当前可用的 LeRobot 数据根目录
179
  │ └── one-shot/ 预留
180
  └── simulation/
181
  ├── full-shot/ 预留
182
  └── one-shot/ 预留
183
  ```
184
 
185
+ **已发布子集的目录才是 LeRobot 的 `root`,不是整个仓库根目录。** 预留目录目前只包含 README。
186
 
187
  <details>
188
  <summary><strong>格式参考:真机 Full-Shot 子集内部的文件</strong></summary>
 
204
 
205
  </details>
206
 
207
+ ## 5. 下载与读取
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
 
209
+ **快速开始:当前可用的真机 Full-Shot。** 公开下载无需 Token,含视频的完整子集约 **23.23 GB**。
210
 
211
+ 使用 Python **3.10+** 与支持 v3.0 的读取器。示例已通过 **LeRobot 0.4.2** 和 **PyAV 15.1.0** 验证;**Dataset v3.0 是数据格式版本,不是名为 LeRobot 3.0 的软件包版本**。
 
212
 
213
+ ```bash
214
+ pip install "lerobot==0.4.2" "av==15.1.0"
215
+ ```
 
 
 
 
 
 
 
 
 
 
216
 
217
+ ```python
218
+ from pathlib import Path
219
 
220
+ from huggingface_hub import HfApi, snapshot_download
221
+ from lerobot.datasets.lerobot_dataset import LeRobotDataset
222
 
223
+ repo_id = "wzlllong/value-model-benchmark-training-data"
224
+ prefix = "data/real-world/full-shot"
225
+ revision = HfApi(token=False).dataset_info(repo_id).sha
226
+ snapshot = snapshot_download(
227
+ repo_id=repo_id,
228
+ repo_type="dataset",
229
+ revision=revision,
230
+ allow_patterns=[f"{prefix}/**"],
231
+ token=False,
232
+ )
233
+ dataset = LeRobotDataset(
234
+ repo_id=repo_id,
235
+ root=Path(snapshot) / prefix,
236
+ revision=revision,
237
+ video_backend="pyav",
238
+ )
239
+ sample = dataset[0]
240
+ print(dataset.num_episodes, dataset.num_frames)
241
+ print(sample["action"].shape, sample["observation.state"].shape)
242
+ ```
243
 
244
+ 预期为 **2,000 条轨迹**、**1,530,987 个时间步**,`action` 维度为 `float32[52]`,`observation.state` 维度为 `float32[290]`。`dataset[0]` 读取的是一个时间步,而不是整条轨迹;LeRobot 根据视频元数据读取对应的相机帧。
 
 
 
245
 
246
+ 示例固定同一个仓库版本用于下载和读取,并且只下载指定子集。不要直接把路径换成预留目录:这些目录目前尚无可加载的轨迹文件。
247
 
248
  **许可:**数据许可尚未指定,使用或再分发前请确认适用条款。