Datasets:
Download docs/FORMAT.md from Ruoqu/DexX-Force: direct link, hf CLI and curl.
- Browser
- Download file 5.99 kB
-
https://huggingface.co/datasets/Ruoqu/DexX-Force/resolve/main/docs/FORMAT.md
- Command line
-
hf download hf://datasets/Ruoqu/DexX-Force/docs/FORMAT.md
-
curl -L -o FORMAT.md https://huggingface.co/datasets/Ruoqu/DexX-Force/resolve/main/docs/FORMAT.md
Data format
Storage
Trajectories are compressed NPZ files inside episodes/{source}/*.tar. References and parameters are stored in context/*.tar; bundled assets are in asset_shards/*.tar. Dexonomy object meshes and USD files are reconstructed from upstream assets using asset_recipes.jsonl and prepare_assets.py. manifest.jsonl identifies episodes and their materialized paths; manifests/{source}.jsonl contains source-specific metadata. context_files.jsonl maps supporting paths to shards. index.parquet provides a lightweight episode index.
The collection contains 10,343 trajectories in 30 tar shards. Each episode shard contains up to 500 trajectories.
Packaged file paths are relative to the release root. In historical processing records, source:// identifies an original input outside the package. Environment configurations are recorded training snapshots; the loader uses the exported manifest paths.
Time, coordinates and ordering
Let T be the action count and S = T + 1 the state count. The convention is state[k] → action[k] → state[k+1]. Samples are recorded at approximately 30 Hz, after physics and before autoreset. The simulator physics rate is 120 Hz.
reference_frame records the reference counter before its increment, so its initial values can be [0, 0, 1, ...]. Use frame metadata and timestamps when aligning references and executions.
Units are metres, seconds, radians and newtons. Quaternions are wxyz. Execution positions use an environment-local origin with world-aligned axes. Reference metadata supplies any source-frame transforms.
joint_names defines the 29 joint columns: seven FR3 joints and 22 right-hand joints. Reorder hand columns by name for a controller-specific layout. body_names defines body columns; tactile_body_names defines the five fingers (thumb, index, middle, ring, little). See joint_order.json.
Trajectory arrays
B is the recorded body count, M the number of object material rows, and D the policy observation dimension. These can be read from each file.
| Field | Shape | dtype | Meaning |
|---|---|---|---|
joint_pos, joint_vel |
S × 29 | float32 | Actual joint position and velocity |
body_pos, body_quat_wxyz |
S × B × 3 / S × B × 4 | float32 | Actual link poses |
object_pos, object_quat_wxyz |
S × 3 / S × 4 | float32 | Actual object pose |
object_lin_vel_w, object_ang_vel_w |
S × 3 | float32 | Object velocities |
timestamps_s |
S | float64 | State timestamps |
reference_frame |
S | int64 | Reference frame association |
tactile_net_force_w, tactile_net_force_palm |
S × 5 × 3 | float32 | Finger forces from all colliders, world/palm axes |
tactile_object_force_w |
S × 5 × 3 | float32 | Forces filtered to the target object |
tactile_contact_pos |
S × 5 × 3 | float32 | Object-contact positions; apply the validity mask |
tactile_contact_pos_valid |
S × 5 | bool | Contact-position validity |
action_policy, action_applied |
T × 29 | float32 | Normalized policy actions and applied actions |
actor_observation |
T × D | float32 | Pre-action policy input |
tactile_actor_force_norm |
T × 5 | float32 | Pre-action force cache with configured smoothing/delay |
joint_position_target, joint_effort_target, applied_torque |
T × 29 | float32 | Controller targets and recorded torque |
object_mass_kg |
1 | float32 | Object mass |
object_material_properties |
M × 3 | float32 | Material values interpreted with the environment configuration |
joint_stiffness, joint_damping |
29 | float32 | Joint drive parameters |
arm_K, arm_D |
7 | float32 | Arm controller gains |
env_action_delay |
scalar | int64 | Action-delay configuration |
joint_names, body_names, tactile_body_names |
29 / B / 5 | Unicode | Column names |
For target-object contact learning, use tactile_object_force_w. Net forces also include other colliders such as the table. A threshold such as norm(force) > 0.5 N produces an application-specific binary contact label. Contact-position masks specify which positions to read.
Paired references
Dataset.reference(row) returns reference metadata and compact reference arrays. Additional stages are listed under preserved_references in the metadata and can be read through Dataset.read_bytes(path).
Dexonomy
R is the reference frame count. These arrays describe the generated Shadow reference and its transforms; the execution arrays describe FR3 + Sharpa.
| Field | Shape | Meaning |
|---|---|---|
source_keypoints_w, source_keypoints_object |
R × 21 × 3 | Shadow FK keypoints in teacher-world/object frames |
object_pose |
R × 7 | Object xyz + wxyz |
phase, timestamps_s |
R | Generated motion stage and time |
shadow_hand_qpos_original_world |
R × 29 | Source Shadow joint configuration before heading correction |
source_world_rotation |
3 × 3 | World rotation |
source_rotation_pivot, scene_translation |
3 | Rotation pivot and scene translation |
Numeric arrays use float64 in the inspected samples; phase is Unicode. Prepared object meshes already include source grasp scale.
DexYCB
These arrays describe the retargeted robot reference. B_ref follows its own body_names (33 bodies in inspected references, versus 42 in execution files).
| Field | Shape | Meaning |
|---|---|---|
joint_pos, joint_names |
R × 29 / 29 | Reference robot configuration and joint names |
body_pos_w, target_body_pos_w |
R × B_ref × 3 | Robot reference body points |
body_names |
B_ref | Reference body names |
object_pose, timestamps_s |
R × 7 / R | Object xyz + wxyz and time |
root_quat_wxyz, arm_base_pos |
R × 4 / 3 | Root orientation and arm-base position |
joint_pos uses float32 in inspected samples; position, orientation and time arrays use float64. Read each file's dtype and names when loading.