Liang-ZX commited on
Commit
89c9060
·
verified ·
1 Parent(s): f5c9aaf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +131 -0
README.md CHANGED
@@ -1,3 +1,134 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ task_categories:
4
+ - reinforcement-learning
5
+ tags:
6
+ - robotics
7
+ - dexterous-manipulation
8
+ - robot-learning
9
+ - imitation-learning
10
+ - offline-reinforcement-learning
11
+ - shadow-hand
12
+ - mujoco
13
+ - hdf5
14
+ - cvpr-2025
15
+ pretty_name: DexHandDiff Manipulate Block
16
+ size_categories:
17
+ - 1K<n<10K
18
  ---
19
+
20
+ # DexHandDiff Manipulate Block Dataset
21
+
22
+ This dataset contains expert demonstration trajectories for the **Manipulate Block / Block Rotate-Z** task used in [DexHandDiff: Interaction-aware Diffusion Planning for Adaptive Dexterous Manipulation](https://arxiv.org/abs/2411.18562), accepted at CVPR 2025.
23
+
24
+ The task evaluates in-hand dexterous manipulation with a simulated Shadow Hand. The hand must reorient a block to a target pose, with particular emphasis on rotation about the z-axis while maintaining alignment in the remaining orientation dimensions. The demonstrations were used to train and evaluate diffusion-based planners for contact-rich, goal-adaptive dexterous manipulation.
25
+
26
+ ## Dataset Description
27
+
28
+ - **Task:** Manipulate Block / Block Rotate-Z
29
+ - **Environment:** simulated Shadow Hand dexterous manipulation environment
30
+ - **Embodiment:** 24-joint Shadow Hand, with the full environment containing up to 30 degrees of freedom
31
+ - **Number of trajectories:** 5,000 expert trajectories
32
+ - **Collection method:** Truncated Quantile Critics with Hindsight Experience Replay (TQC+HER)
33
+ - **Modality:** state-action robot trajectories
34
+ - **Primary file:** `manipulate_block_5000.h5`
35
+ - **Associated paper:** [arXiv:2411.18562](https://arxiv.org/abs/2411.18562)
36
+ - **Project page:** [dexdiffuser.github.io](https://dexdiffuser.github.io/)
37
+ - **Code:** [github.com/Liang-ZX/DexHandDiff](https://github.com/Liang-ZX/DexHandDiff)
38
+
39
+ The Adroit tasks in the paper use teleoperated demonstrations from D4RL. The Shadow Hand environment does not provide demonstration data for this task, so we collected these 5,000 expert trajectories using TQC+HER.
40
+
41
+ ## Task and Evaluation Protocol
42
+
43
+ In the Block Rotate-Z task, the dexterous hand continuously reorients a block toward a target orientation represented in quaternion space. The task requires coordinated multi-finger control and contact-rich in-hand adjustment.
44
+
45
+ The goal-adaptability experiment in the paper uses a half-side split: the training goals have positive target yaw angles, while evaluation includes negative target yaw angles. This tests whether a planner can adapt beyond the goal distribution represented during training.
46
+
47
+ The paper reports the following success rates for DexHandDiff:
48
+
49
+ | Evaluation task | Success rate |
50
+ | --- | ---: |
51
+ | Rotate-Z | 50.0 ± 8.2% |
52
+ | Half-side Rotate-Z | 36.7 ± 4.7% |
53
+
54
+ These values are method results reported in the paper and should not be interpreted as intrinsic properties of the dataset.
55
+
56
+ ## Files and Data Format
57
+
58
+ The dataset is distributed as a single HDF5 file:
59
+
60
+ ```text
61
+ manipulate_block_5000.h5
62
+ ```
63
+
64
+ The archive contains 5,000 expert trajectories. To inspect the exact groups, fields, shapes, and dtypes in the released file:
65
+
66
+ ```python
67
+ import h5py
68
+
69
+ path = "manipulate_block_5000.h5"
70
+
71
+ with h5py.File(path, "r") as dataset:
72
+ def describe(name, obj):
73
+ if isinstance(obj, h5py.Dataset):
74
+ print(f"{name}: shape={obj.shape}, dtype={obj.dtype}")
75
+ else:
76
+ print(f"{name}/")
77
+
78
+ dataset.visititems(describe)
79
+ ```
80
+
81
+ After the file is available on the Hub, it can be downloaded programmatically with:
82
+
83
+ ```python
84
+ from huggingface_hub import hf_hub_download
85
+
86
+ path = hf_hub_download(
87
+ repo_id="Liang-ZX/DexHandDiff-ManipulateBlock",
88
+ filename="manipulate_block_5000.h5",
89
+ repo_type="dataset",
90
+ )
91
+ ```
92
+
93
+ Because HDF5 is a hierarchical container rather than a table-oriented format, the Hugging Face Dataset Viewer may not render the trajectories directly. Use `h5py` or the data-loading utilities in the DexHandDiff codebase to access the data.
94
+
95
+ ## Intended Uses
96
+
97
+ This dataset is intended for research on:
98
+
99
+ - dexterous and contact-rich robot manipulation;
100
+ - imitation learning and offline reinforcement learning;
101
+ - diffusion-based planning and policy learning;
102
+ - goal-conditioned and goal-adaptive control;
103
+ - state-action dynamics modeling; and
104
+ - in-hand object reorientation.
105
+
106
+ ## Limitations
107
+
108
+ - The trajectories were collected in simulation and may not transfer directly to a physical Shadow Hand without additional adaptation.
109
+ - The dataset covers a single block-reorientation environment and should not be treated as a broad benchmark of general dexterous manipulation.
110
+ - Performance may depend on the exact simulator version, observation/action definitions, preprocessing, and evaluation protocol.
111
+ - The goal distribution used for training does not represent every possible block orientation.
112
+
113
+ ## License
114
+
115
+ This dataset is released under the MIT License. Users are also responsible for complying with the licenses of the underlying simulator and software dependencies.
116
+
117
+ ## Citation
118
+
119
+ If you use this dataset, please cite:
120
+
121
+ ```bibtex
122
+ @InProceedings{Liang_2025_CVPR,
123
+ author = {Liang, Zhixuan and Mu, Yao and Wang, Yixiao and Chen, Tianxing and Shao, Wenqi and Zhan, Wei and Tomizuka, Masayoshi and Luo, Ping and Ding, Mingyu},
124
+ title = {DexHandDiff: Interaction-aware Diffusion Planning for Adaptive Dexterous Manipulation},
125
+ booktitle = {Proceedings of the Computer Vision and Pattern Recognition Conference (CVPR)},
126
+ month = {June},
127
+ year = {2025},
128
+ pages = {1745--1755}
129
+ }
130
+ ```
131
+
132
+ ## Questions
133
+
134
+ For questions about the dataset, please open an issue in the [DexHandDiff repository](https://github.com/Liang-ZX/DexHandDiff/issues) or start a discussion in this Hugging Face dataset repository.