Datasets:
Hui commited on
Commit ·
d552eca
1
Parent(s): b4b77d3
Add base GraspXL archives
Browse files- README.md +239 -3
- allegro_dataset_1.zip +3 -0
- allegro_dataset_2.zip +3 -0
- leap_dataset_1.zip +3 -0
- objaverse_urdf.zip +3 -0
- object_dataset.zip +3 -0
README.md
CHANGED
|
@@ -1,3 +1,239 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-nc-4.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
pretty_name: GraspXL
|
| 4 |
+
size_categories:
|
| 5 |
+
- 10M<n<100M
|
| 6 |
+
tags:
|
| 7 |
+
- grasping
|
| 8 |
+
- dexterous-hand
|
| 9 |
+
- motion-generation
|
| 10 |
+
- objaverse
|
| 11 |
+
- physics-simulation
|
| 12 |
+
- robotics
|
| 13 |
+
- 3d
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# GraspXL
|
| 17 |
+
|
| 18 |
+
GraspXL is a large-scale dataset of physically plausible dexterous grasping
|
| 19 |
+
motion sequences over Objaverse objects. It contains generated grasping motions
|
| 20 |
+
for different hand models, together with processed object meshes used by the
|
| 21 |
+
recorded sequences.
|
| 22 |
+
|
| 23 |
+
## Why use GraspXL?
|
| 24 |
+
|
| 25 |
+
### Summary on the dataset
|
| 26 |
+
|
| 27 |
+
- It contains 10M+ diverse grasping motions for 500k+ objects of different
|
| 28 |
+
dexterous hands.
|
| 29 |
+
- All grasping motions are generated with physics simulation, which helps ensure
|
| 30 |
+
the physical plausibility of the generated motions.
|
| 31 |
+
- Each motion contains accurate object and hand poses for every frame.
|
| 32 |
+
|
| 33 |
+
### Potential tasks with GraspXL
|
| 34 |
+
|
| 35 |
+
- Generating general grasping motions for
|
| 36 |
+
[full-body motion generation](https://eth-ait.github.io/phys-fullbody-grasp/).
|
| 37 |
+
- Achieving zero-shot text-to-motion generation with off-the-shelf
|
| 38 |
+
[text-to-mesh](https://dreamfusion3d.github.io/) generation methods.
|
| 39 |
+
- Generating large-scale pseudo 3D RGBD grasping motions with
|
| 40 |
+
[texture generation](https://mq-zhang1.github.io/HOIDiffusion/) methods, which
|
| 41 |
+
can support downstream applications such as
|
| 42 |
+
[training a general pose estimation model](https://nvlabs.github.io/FoundationPose/).
|
| 43 |
+
- [Simulating general human hand motions](https://eth-ait.github.io/synthetic-handovers/)
|
| 44 |
+
for human-robot interaction.
|
| 45 |
+
- Serving as expert demonstrations for robot imitation learning.
|
| 46 |
+
|
| 47 |
+
## Dataset instruction
|
| 48 |
+
|
| 49 |
+
The dataset is composed of several `.zip` archives. These archives contain the
|
| 50 |
+
generated diverse grasping motion sequences for different hands on
|
| 51 |
+
[Objaverse](https://objaverse.allenai.org/), as well as the processed object mesh
|
| 52 |
+
files. The object meshes are scaled and decimated before use.
|
| 53 |
+
|
| 54 |
+
To make the dataset easier to download, recorded motion sequences are split into
|
| 55 |
+
several `.zip` files. For most objects, each sequence archive contains 5
|
| 56 |
+
sequences, so users can choose which archives to download.
|
| 57 |
+
|
| 58 |
+
## Files
|
| 59 |
+
|
| 60 |
+
The repository contains the following archive groups:
|
| 61 |
+
|
| 62 |
+
| File | Description |
|
| 63 |
+
| --- | --- |
|
| 64 |
+
| `object_dataset.zip` | Processed object meshes used by the recorded sequences. |
|
| 65 |
+
| `allegro_dataset_1.zip` | Allegro Hand grasping motion sequences. |
|
| 66 |
+
| `allegro_dataset_2.zip` | Additional Allegro Hand grasping motion sequences. |
|
| 67 |
+
| `mano_dataset_1.zip.part00`, `mano_dataset_1.zip.part01` | Split parts of `mano_dataset_1.zip`, containing MANO hand grasping motion sequences. |
|
| 68 |
+
| `mano_dataset_2.zip.part00`, `mano_dataset_2.zip.part01` | Split parts of `mano_dataset_2.zip`, containing additional MANO hand grasping motion sequences. |
|
| 69 |
+
| `mano_dataset_3.zip.part00`, `mano_dataset_3.zip.part01` | Split parts of `mano_dataset_3.zip`, containing additional MANO hand grasping motion sequences. |
|
| 70 |
+
| `leap_dataset_1.zip` | LEAP hand grasping motions for a subset of the objects. |
|
| 71 |
+
| `objaverse_urdf.zip` | URDF files of the Objaverse objects used by the simulator. |
|
| 72 |
+
|
| 73 |
+
## Objects
|
| 74 |
+
|
| 75 |
+
`object_dataset.zip` is organized as follows:
|
| 76 |
+
|
| 77 |
+
```text
|
| 78 |
+
object_dataset.zip
|
| 79 |
+
|-- small
|
| 80 |
+
| |-- <object_id>
|
| 81 |
+
| | `-- <object_id>.obj
|
| 82 |
+
| `-- ...
|
| 83 |
+
|-- medium
|
| 84 |
+
| |-- <object_id>
|
| 85 |
+
| | `-- <object_id>.obj
|
| 86 |
+
| `-- ...
|
| 87 |
+
`-- large
|
| 88 |
+
|-- <object_id>
|
| 89 |
+
| `-- <object_id>.obj
|
| 90 |
+
`-- ...
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
`small`, `medium`, and `large` contain object meshes with different scales used
|
| 94 |
+
by the recorded sequences. Please check the paper for more details.
|
| 95 |
+
|
| 96 |
+
## Allegro sequences
|
| 97 |
+
|
| 98 |
+
`allegro_dataset_1.zip` is organized as follows:
|
| 99 |
+
|
| 100 |
+
```text
|
| 101 |
+
allegro_dataset_1.zip
|
| 102 |
+
|-- small
|
| 103 |
+
| |-- <object_id>
|
| 104 |
+
| | |-- allegro_1.npy
|
| 105 |
+
| | |-- allegro_2.npy
|
| 106 |
+
| | |-- allegro_3.npy
|
| 107 |
+
| | `-- ...
|
| 108 |
+
| `-- ...
|
| 109 |
+
|-- medium
|
| 110 |
+
| |-- <object_id>
|
| 111 |
+
| | |-- allegro_1.npy
|
| 112 |
+
| | `-- ...
|
| 113 |
+
| `-- ...
|
| 114 |
+
`-- large
|
| 115 |
+
|-- <object_id>
|
| 116 |
+
| |-- allegro_1.npy
|
| 117 |
+
| `-- ...
|
| 118 |
+
`-- ...
|
| 119 |
+
```
|
| 120 |
+
|
| 121 |
+
Not every object has the same number of recorded sequences.
|
| 122 |
+
|
| 123 |
+
Each `.npy` file contains a single motion sequence:
|
| 124 |
+
|
| 125 |
+
```python
|
| 126 |
+
data = np.load("allegro_x.npy", allow_pickle=True).item()
|
| 127 |
+
```
|
| 128 |
+
|
| 129 |
+
The sequence dictionary contains:
|
| 130 |
+
|
| 131 |
+
- `data["right_hand"]["trans"]`: NumPy array of shape `(frame_num, 3)`. Wrist
|
| 132 |
+
position sequence.
|
| 133 |
+
- `data["right_hand"]["rot"]`: NumPy array of shape `(frame_num, 3)`. Wrist
|
| 134 |
+
orientation sequence in axis-angle representation.
|
| 135 |
+
- `data["right_hand"]["pose"]`: NumPy array of shape `(frame_num, 22)`. The
|
| 136 |
+
first 6 dimensions of each frame are 0, and the remaining 16 dimensions are
|
| 137 |
+
joint angles.
|
| 138 |
+
- `data[object_id]["trans"]`: NumPy array of shape `(frame_num, 3)`. Object
|
| 139 |
+
position sequence.
|
| 140 |
+
- `data[object_id]["rot"]`: NumPy array of shape `(frame_num, 3)`. Object
|
| 141 |
+
orientation sequence in axis-angle representation.
|
| 142 |
+
- `data[object_id]["angle"]`: Reserved field, not used.
|
| 143 |
+
|
| 144 |
+
`allegro_dataset_2.zip` follows the same format and contains another group of
|
| 145 |
+
recorded motion sequences.
|
| 146 |
+
|
| 147 |
+
## MANO sequences
|
| 148 |
+
|
| 149 |
+
The MANO archives are stored as split files to keep each repository file under
|
| 150 |
+
the hosting file-size limit. Reconstruct the original archives before extracting:
|
| 151 |
+
|
| 152 |
+
```bash
|
| 153 |
+
cat mano_dataset_1.zip.part00 mano_dataset_1.zip.part01 > mano_dataset_1.zip
|
| 154 |
+
cat mano_dataset_2.zip.part00 mano_dataset_2.zip.part01 > mano_dataset_2.zip
|
| 155 |
+
cat mano_dataset_3.zip.part00 mano_dataset_3.zip.part01 > mano_dataset_3.zip
|
| 156 |
+
```
|
| 157 |
+
|
| 158 |
+
`mano_dataset_1.zip` is organized as follows:
|
| 159 |
+
|
| 160 |
+
```text
|
| 161 |
+
mano_dataset_1.zip
|
| 162 |
+
|-- small
|
| 163 |
+
| |-- <object_id>
|
| 164 |
+
| | |-- mano_1.npy
|
| 165 |
+
| | |-- mano_2.npy
|
| 166 |
+
| | |-- mano_3.npy
|
| 167 |
+
| | `-- ...
|
| 168 |
+
| `-- ...
|
| 169 |
+
|-- medium
|
| 170 |
+
| |-- <object_id>
|
| 171 |
+
| | |-- mano_1.npy
|
| 172 |
+
| | `-- ...
|
| 173 |
+
| `-- ...
|
| 174 |
+
`-- large
|
| 175 |
+
|-- <object_id>
|
| 176 |
+
| |-- mano_1.npy
|
| 177 |
+
| `-- ...
|
| 178 |
+
`-- ...
|
| 179 |
+
```
|
| 180 |
+
|
| 181 |
+
Not every object has the same number of recorded sequences.
|
| 182 |
+
|
| 183 |
+
Each `.npy` file contains a single motion sequence:
|
| 184 |
+
|
| 185 |
+
```python
|
| 186 |
+
data = np.load("mano_x.npy", allow_pickle=True).item()
|
| 187 |
+
```
|
| 188 |
+
|
| 189 |
+
The sequence dictionary contains:
|
| 190 |
+
|
| 191 |
+
- `data["right_hand"]["trans"]`: NumPy array of shape `(frame_num, 3)`. Wrist
|
| 192 |
+
position sequence.
|
| 193 |
+
- `data["right_hand"]["rot"]`: NumPy array of shape `(frame_num, 3)`. Wrist
|
| 194 |
+
orientation sequence in axis-angle representation. For MANO, these are the
|
| 195 |
+
first 3 dimensions of the MANO parameter.
|
| 196 |
+
- `data["right_hand"]["pose"]`: NumPy array of shape `(frame_num, 45)`. The
|
| 197 |
+
remaining 45 dimensions of the MANO parameter.
|
| 198 |
+
- `data[object_id]["trans"]`: NumPy array of shape `(frame_num, 3)`. Object
|
| 199 |
+
position sequence.
|
| 200 |
+
- `data[object_id]["rot"]`: NumPy array of shape `(frame_num, 3)`. Object
|
| 201 |
+
orientation sequence in axis-angle representation.
|
| 202 |
+
- `data[object_id]["angle"]`: Reserved field, not used.
|
| 203 |
+
|
| 204 |
+
`mano_dataset_2.zip` and `mano_dataset_3.zip` follow the same format and contain
|
| 205 |
+
additional groups of recorded motion sequences.
|
| 206 |
+
|
| 207 |
+
## LEAP sequences
|
| 208 |
+
|
| 209 |
+
`leap_dataset_1.zip` contains LEAP hand grasping motions for a subset of the
|
| 210 |
+
500k+ objects. The dataset structure and data format are the same as the Allegro
|
| 211 |
+
Hand data described above.
|
| 212 |
+
|
| 213 |
+
## Additional data
|
| 214 |
+
|
| 215 |
+
`objaverse_urdf.zip` contains the URDF files of the 500k+ Objaverse objects.
|
| 216 |
+
These URDF files are used by the code to generate the motions in simulation.
|
| 217 |
+
|
| 218 |
+
## Loading a sequence
|
| 219 |
+
|
| 220 |
+
Example:
|
| 221 |
+
|
| 222 |
+
```python
|
| 223 |
+
import numpy as np
|
| 224 |
+
|
| 225 |
+
data = np.load("allegro_1.npy", allow_pickle=True).item()
|
| 226 |
+
object_id = next(key for key in data.keys() if key != "right_hand")
|
| 227 |
+
|
| 228 |
+
right_hand_trans = data["right_hand"]["trans"]
|
| 229 |
+
right_hand_rot = data["right_hand"]["rot"]
|
| 230 |
+
right_hand_pose = data["right_hand"]["pose"]
|
| 231 |
+
|
| 232 |
+
object_trans = data[object_id]["trans"]
|
| 233 |
+
object_rot = data[object_id]["rot"]
|
| 234 |
+
```
|
| 235 |
+
|
| 236 |
+
## License
|
| 237 |
+
|
| 238 |
+
This dataset is released under the
|
| 239 |
+
[Creative Commons Attribution-NonCommercial 4.0 International License](https://creativecommons.org/licenses/by-nc/4.0/).
|
allegro_dataset_1.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ad39d1a9c74571d10302b5342dac3eaff9de27e96475379424c11c8df3f359b
|
| 3 |
+
size 36881265777
|
allegro_dataset_2.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6df1ef4c6f5165e0b060bf7c4a3d3485fed558d2311ebe8133405b8ee1dae1cc
|
| 3 |
+
size 36264468335
|
leap_dataset_1.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab21eeafdd5e6e4ae4788507ffda1258288631484cbfb4a9639f721937715959
|
| 3 |
+
size 3056233115
|
objaverse_urdf.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e6f099de75cff856978e71c706cbd6ee6d0345a99d0af12759f42de51413549
|
| 3 |
+
size 49436690151
|
object_dataset.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4f2948df64455d6e8eb4ebb71cd3940287e802f9aca937114a2683261d0e0bf
|
| 3 |
+
size 19776001955
|