BenXu123456 commited on
Commit
60fdfe3
·
verified ·
1 Parent(s): bcb9202

Add dataset card (schema, per-object breakdown, download)

Browse files
Files changed (1) hide show
  1. README.md +127 -0
README.md ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ pretty_name: baseline_3 v4 - DP3 Training Trajectories (DexYCB-sourced)
6
+ tags:
7
+ - robotics
8
+ - manipulation
9
+ - grasping
10
+ - diffusion-policy
11
+ - franka
12
+ - dexycb
13
+ size_categories:
14
+ - n<1K
15
+ ---
16
+
17
+ # DP3_DexYCB_training_data
18
+
19
+ 162 successful grasp + lift trajectories collected in IsaacSim 5.1 + cuRobo
20
+ 0.8 from DexYCB hand-pose sequences, retargeted onto a Franka 2-finger
21
+ gripper. Used to train the **baseline_3 v4** Diffusion Policy 3D (DP3)
22
+ policy in the
23
+ [UCB_Project](https://github.com/stzabl-png/UCB_Project) repo
24
+ (`gate3-curobo-ik` branch).
25
+
26
+ 10 YCB objects after dropping `foam` and `scissors` (cuRobo could not plan a
27
+ single successful grasp on either shape). Each source DexYCB episode was
28
+ collected at its original object yaw and one randomly-selected augmented
29
+ yaw in `{90°, 180°, 270°}` around world-Z (a task-symmetric transform —
30
+ gravity, table and contact geometry are unchanged by yaw rotation).
31
+
32
+ ## Per-object Breakdown
33
+
34
+ | ycb_class_id | object | orig | yaw aug | total |
35
+ |--------------|--------------|------|---------|-------|
36
+ | 03 | sugar | 14 | 8 | 22 |
37
+ | 04 | tomato | 14 | 6 | 20 |
38
+ | 05 | mustard | 11 | 4 | 15 |
39
+ | 06 | tuna | 11 | 6 | 17 |
40
+ | 07 | pudding | 9 | 9 | 18 |
41
+ | 08 | gelatin | 11 | 4 | 15 |
42
+ | 09 | potted_meat | 11 | 7 | 18 |
43
+ | 12 | bleach | 17 | 8 | 25 |
44
+ | 15 | drill | 3 | 4 | 7 |
45
+ | 18 | marker | 3 | 2 | 5 |
46
+ | | **TOTAL** | 104 | 58 | **162** |
47
+
48
+ Total size: ~238 MB. Each `.hdf5` is ~1.5 MB.
49
+
50
+ ## Per-episode Schema (HDF5)
51
+
52
+ | Field | Shape | dtype | Notes |
53
+ |--------------------|----------------|---------|-------|
54
+ | `state` | `(31, 8)` | float32 | `[x,y,z, qw,qx,qy,qz, gripper]` in object-centric G-frame, retarget-quat convention |
55
+ | `action` | `(31, 8)` | float32 | `state[1:]` (shifted by 1) |
56
+ | `point_cloud` | `(31, 4096, 3)`| float32 | Static CAD surface samples in G-frame (all 31 frames identical; object is static during collection) |
57
+ | `obj_origin_G` | attr `(3,)` | float64 | Object frame origin in G-frame |
58
+ | `obj_quat_G_wxyz` | attr `(4,)` | float64 | Object orientation in G-frame |
59
+ | `ycb_class_id` | attr scalar | int | DexYCB class id (e.g. 03 = sugar) |
60
+
61
+ ## File Naming
62
+
63
+ ```
64
+ dexycb__<session>__<sub-session>__<camera_id>__ycb_dex_NN[_yawDDD].hdf5
65
+ ```
66
+ - No `_yaw` suffix → original DexYCB yaw
67
+ - `_yaw90` / `_yaw180` / `_yaw270` → yaw-augmented variant
68
+
69
+ ## Download
70
+
71
+ ```bash
72
+ # Option 1: huggingface-cli
73
+ huggingface-cli download UCBProject/DP3_DexYCB_training_data \
74
+ --repo-type dataset \
75
+ --local-dir Baseline1/data/episodes_b3_v4_full12_yaw
76
+
77
+ # Option 2: snapshot_download from Python
78
+ from huggingface_hub import snapshot_download
79
+ snapshot_download(repo_id="UCBProject/DP3_DexYCB_training_data",
80
+ repo_type="dataset",
81
+ local_dir="Baseline1/data/episodes_b3_v4_full12_yaw")
82
+ ```
83
+
84
+ The 162 hdf5 files land under `data/` inside this repo, so the
85
+ `--local-dir` above ends up with `Baseline1/data/episodes_b3_v4_full12_yaw/data/<162 hdf5>`.
86
+ For the UCB_Project pipeline, move them up one level so the path matches the
87
+ README:
88
+
89
+ ```bash
90
+ mv Baseline1/data/episodes_b3_v4_full12_yaw/data/*.hdf5 \
91
+ Baseline1/data/episodes_b3_v4_full12_yaw/
92
+ rmdir Baseline1/data/episodes_b3_v4_full12_yaw/data
93
+ ```
94
+
95
+ ## Training Pipeline
96
+
97
+ Full retrain instructions:
98
+ [`Baseline1/RETRAIN_V4_FULL12.md`](https://github.com/stzabl-png/UCB_Project/blob/gate3-curobo-ik/Baseline1/RETRAIN_V4_FULL12.md)
99
+ in the UCB_Project repo.
100
+
101
+ ## Collection Details
102
+
103
+ Collected by `sim/run_grasp_sim_baseline3_v4.py` (`gate3-curobo-ik` branch)
104
+ with:
105
+ - IsaacSim 5.1, PhysX TGS solver, GPU dynamics + CCD
106
+ - cuRobo 0.8 motion planner (per-phase mesh toggle for pre-grasp WITH mesh,
107
+ final/lift WITHOUT mesh)
108
+ - mass = 0.05 kg (hardcoded; real per-class mass triggers PhysX overflow)
109
+ - chunked-5 + retry wrapper to recover from PhysX corruption events
110
+
111
+ ## License
112
+
113
+ Data: CC-BY-4.0. DexYCB source data subject to the original DexYCB license.
114
+
115
+ ## Citation
116
+
117
+ If you use this dataset, please also cite DexYCB:
118
+ ```
119
+ @inproceedings{chao2021dexycb,
120
+ title = {DexYCB: A Benchmark for Capturing Hand Grasping of Objects},
121
+ author = {Chao, Yu-Wei and Yang, Wei and Xiang, Yu and Molchanov, Pavlo
122
+ and Handa, Ankur and Tremblay, Jonathan and Narang, Yashraj S
123
+ and Van Wyk, Karl and Iqbal, Umar and Birchfield, Stan and others},
124
+ booktitle = {CVPR},
125
+ year = {2021}
126
+ }
127
+ ```