Update README.md
Browse files
README.md
CHANGED
|
@@ -4,24 +4,90 @@ task_categories:
|
|
| 4 |
- robotics
|
| 5 |
tags:
|
| 6 |
- LeRobot
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
configs:
|
| 8 |
- config_name: default
|
| 9 |
data_files: data/*/*.parquet
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
## Dataset Description
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
-
- **Paper:** [More Information Needed]
|
| 20 |
-
- **License:** apache-2.0
|
| 21 |
|
| 22 |
## Dataset Structure
|
| 23 |
|
| 24 |
-
[meta/info.json](meta/info.json):
|
|
|
|
| 25 |
```json
|
| 26 |
{
|
| 27 |
"codebase_version": "v3.0",
|
|
@@ -41,161 +107,63 @@ This dataset was created using [LeRobot](https://github.com/huggingface/lerobot)
|
|
| 41 |
"features": {
|
| 42 |
"observation.state": {
|
| 43 |
"dtype": "float32",
|
| 44 |
-
"shape": [
|
| 45 |
-
14
|
| 46 |
-
],
|
| 47 |
"names": [
|
| 48 |
-
"
|
| 49 |
-
"
|
| 50 |
-
"left_pz",
|
| 51 |
-
"left_rx",
|
| 52 |
-
"left_ry",
|
| 53 |
-
"left_rz",
|
| 54 |
-
"left_gripper",
|
| 55 |
-
"right_px",
|
| 56 |
-
"right_py",
|
| 57 |
-
"right_pz",
|
| 58 |
-
"right_rx",
|
| 59 |
-
"right_ry",
|
| 60 |
-
"right_rz",
|
| 61 |
-
"right_gripper"
|
| 62 |
]
|
| 63 |
},
|
| 64 |
"action": {
|
| 65 |
"dtype": "float32",
|
| 66 |
-
"shape": [
|
| 67 |
-
14
|
| 68 |
-
],
|
| 69 |
"names": [
|
| 70 |
-
"
|
| 71 |
-
"
|
| 72 |
-
"left_pz",
|
| 73 |
-
"left_rx",
|
| 74 |
-
"left_ry",
|
| 75 |
-
"left_rz",
|
| 76 |
-
"left_gripper",
|
| 77 |
-
"right_px",
|
| 78 |
-
"right_py",
|
| 79 |
-
"right_pz",
|
| 80 |
-
"right_rx",
|
| 81 |
-
"right_ry",
|
| 82 |
-
"right_rz",
|
| 83 |
-
"right_gripper"
|
| 84 |
]
|
| 85 |
},
|
| 86 |
"observation.images.top": {
|
| 87 |
"dtype": "video",
|
| 88 |
-
"shape": [
|
| 89 |
-
|
| 90 |
-
360,
|
| 91 |
-
3
|
| 92 |
-
],
|
| 93 |
-
"names": [
|
| 94 |
-
"height",
|
| 95 |
-
"width",
|
| 96 |
-
"channel"
|
| 97 |
-
],
|
| 98 |
"info": {
|
| 99 |
-
"video.height": 240,
|
| 100 |
-
"video.width": 360,
|
| 101 |
"video.codec": "av1",
|
| 102 |
-
"video.
|
| 103 |
-
"video.is_depth_map": false,
|
| 104 |
-
"video.fps": 50,
|
| 105 |
-
"video.channels": 3,
|
| 106 |
-
"has_audio": false
|
| 107 |
}
|
| 108 |
},
|
| 109 |
"observation.images.wrist_cam_left": {
|
| 110 |
"dtype": "video",
|
| 111 |
-
"shape": [
|
| 112 |
-
|
| 113 |
-
360,
|
| 114 |
-
3
|
| 115 |
-
],
|
| 116 |
-
"names": [
|
| 117 |
-
"height",
|
| 118 |
-
"width",
|
| 119 |
-
"channel"
|
| 120 |
-
],
|
| 121 |
"info": {
|
| 122 |
-
"video.height": 240,
|
| 123 |
-
"video.width": 360,
|
| 124 |
"video.codec": "av1",
|
| 125 |
-
"video.
|
| 126 |
-
"video.is_depth_map": false,
|
| 127 |
-
"video.fps": 50,
|
| 128 |
-
"video.channels": 3,
|
| 129 |
-
"has_audio": false
|
| 130 |
}
|
| 131 |
},
|
| 132 |
"observation.images.wrist_cam_right": {
|
| 133 |
"dtype": "video",
|
| 134 |
-
"shape": [
|
| 135 |
-
|
| 136 |
-
360,
|
| 137 |
-
3
|
| 138 |
-
],
|
| 139 |
-
"names": [
|
| 140 |
-
"height",
|
| 141 |
-
"width",
|
| 142 |
-
"channel"
|
| 143 |
-
],
|
| 144 |
"info": {
|
| 145 |
-
"video.height": 240,
|
| 146 |
-
"video.width": 360,
|
| 147 |
"video.codec": "av1",
|
| 148 |
-
"video.
|
| 149 |
-
"video.is_depth_map": false,
|
| 150 |
-
"video.fps": 50,
|
| 151 |
-
"video.channels": 3,
|
| 152 |
-
"has_audio": false
|
| 153 |
}
|
| 154 |
-
},
|
| 155 |
-
"timestamp": {
|
| 156 |
-
"dtype": "float32",
|
| 157 |
-
"shape": [
|
| 158 |
-
1
|
| 159 |
-
],
|
| 160 |
-
"names": null
|
| 161 |
-
},
|
| 162 |
-
"frame_index": {
|
| 163 |
-
"dtype": "int64",
|
| 164 |
-
"shape": [
|
| 165 |
-
1
|
| 166 |
-
],
|
| 167 |
-
"names": null
|
| 168 |
-
},
|
| 169 |
-
"episode_index": {
|
| 170 |
-
"dtype": "int64",
|
| 171 |
-
"shape": [
|
| 172 |
-
1
|
| 173 |
-
],
|
| 174 |
-
"names": null
|
| 175 |
-
},
|
| 176 |
-
"index": {
|
| 177 |
-
"dtype": "int64",
|
| 178 |
-
"shape": [
|
| 179 |
-
1
|
| 180 |
-
],
|
| 181 |
-
"names": null
|
| 182 |
-
},
|
| 183 |
-
"task_index": {
|
| 184 |
-
"dtype": "int64",
|
| 185 |
-
"shape": [
|
| 186 |
-
1
|
| 187 |
-
],
|
| 188 |
-
"names": null
|
| 189 |
}
|
| 190 |
}
|
| 191 |
}
|
| 192 |
-
```
|
| 193 |
|
|
|
|
| 194 |
|
| 195 |
## Citation
|
| 196 |
|
| 197 |
**BibTeX:**
|
| 198 |
|
| 199 |
```bibtex
|
| 200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
```
|
|
|
|
| 4 |
- robotics
|
| 5 |
tags:
|
| 6 |
- LeRobot
|
| 7 |
+
- aloha
|
| 8 |
+
- tutorial
|
| 9 |
+
- imitation-learning
|
| 10 |
+
- mujoco
|
| 11 |
configs:
|
| 12 |
- config_name: default
|
| 13 |
data_files: data/*/*.parquet
|
| 14 |
---
|
| 15 |
|
| 16 |
+
# LeRobot Dataset: ALOHA Hammer Strikes Table (Joint Control)
|
| 17 |
+
|
| 18 |
+
This dataset was created using [LeRobot](https://github.com/huggingface/lerobot). It contains **50 expert episodes** of the ALOHA robot performing a "Hammer Strike" task in a MuJoCo simulation.
|
| 19 |
+
|
| 20 |
+
**⚠️ Important Note:** This dataset uses **Joint Position Control** (Joint Space), not End-Effector Control (Cartesian/XYZ). This ensures stability and compatibility with standard ACT training pipelines, eliminating the "drifting" issues associated with IK mismatches.
|
| 21 |
+
|
| 22 |
+
## 🎥 Dataset Preview
|
| 23 |
+
|
| 24 |
+
<div align="center">
|
| 25 |
+
<video controls autoplay loop muted src="https://huggingface.co/datasets/Lemon-03/il_aloha_hammer_strikes_table_v1/resolve/main/videos/observation.images.top/chunk-000/file-005.mp4" width="32%"></video>
|
| 26 |
+
<video controls autoplay loop muted src="https://huggingface.co/datasets/Lemon-03/il_aloha_hammer_strikes_table_v1/resolve/main/videos/observation.images.wrist_cam_left/chunk-000/file-004.mp4" width="32%"></video>
|
| 27 |
+
<video controls autoplay loop muted src="https://huggingface.co/datasets/Lemon-03/il_aloha_hammer_strikes_table_v1/resolve/main/videos/observation.images.wrist_cam_right/chunk-000/file-003.mp4" width="32%"></video>
|
| 28 |
+
</div>
|
| 29 |
+
<div align="center">
|
| 30 |
+
<strong>Top</strong> | <strong>Left Wrist</strong> | <strong>Right Wrist</strong>
|
| 31 |
+
</div>
|
| 32 |
+
|
| 33 |
+
<br>
|
| 34 |
|
| 35 |
## Dataset Description
|
| 36 |
|
| 37 |
+
- **Robot:** ALOHA (Bi-manual)
|
| 38 |
+
- **Simulation:** MuJoCo
|
| 39 |
+
- **Control Mode:** **Joint Positions (Radians)**
|
| 40 |
+
- **Task:** The robot picks up a hammer with the right hand, performs a hand-over to the left hand, and strikes the table/object.
|
| 41 |
+
- **Camera Views:** 3 Cameras (`top`, `wrist_cam_left`, `wrist_cam_right`)
|
| 42 |
+
- **Total Frames:** 133,000
|
| 43 |
+
- **Episodes:** 50
|
| 44 |
+
- **Frequency:** 50 Hz
|
| 45 |
+
|
| 46 |
+
## Task Description
|
| 47 |
+
|
| 48 |
+
The task `ACTAlohaHammerStrikesTable-v0` involves complex bi-manual coordination:
|
| 49 |
+
1. **Grasp:** The right arm approaches and grasps the hammer.
|
| 50 |
+
2. **Handover:** The right arm lifts the hammer and passes it to the left arm.
|
| 51 |
+
3. **Strike:** The left arm accepts the hammer and performs a striking motion on the target surface.
|
| 52 |
+
|
| 53 |
+
This dataset serves as a benchmark for testing Imitation Learning algorithms (specifically ACT) on tasks requiring high precision and dual-arm coordination.
|
| 54 |
+
|
| 55 |
+
## Technical Specifications
|
| 56 |
+
|
| 57 |
+
### Action Space & Observation State
|
| 58 |
+
Unlike datasets that use XYZ coordinates (End-Effector position), this dataset records raw **Joint Angles**.
|
| 59 |
+
|
| 60 |
+
* **Shape:** `(14,)`
|
| 61 |
+
* **Format:**
|
| 62 |
+
* Indices 0-5: Left Arm Joints (Waist, Shoulder, Elbow, Forearm Roll, Wrist Angle, Wrist Rotate)
|
| 63 |
+
* Index 6: Left Gripper (0.0 = Closed, 1.0 = Open)
|
| 64 |
+
* Indices 7-12: Right Arm Joints
|
| 65 |
+
* Index 13: Right Gripper
|
| 66 |
+
|
| 67 |
+
### Cameras
|
| 68 |
+
To optimize for training speed and storage, video resolution is set to:
|
| 69 |
+
* **Resolution:** 360x240 (Width x Height)
|
| 70 |
+
* **Codec:** AV1
|
| 71 |
+
* **FPS:** 50
|
| 72 |
+
|
| 73 |
+
## 💻 How to use with LeRobot
|
| 74 |
+
|
| 75 |
+
```python
|
| 76 |
+
from lerobot.datasets.lerobot_dataset import LeRobotDataset <---(Lerobto v4.3.0)
|
| 77 |
+
|
| 78 |
+
# Load the dataset
|
| 79 |
+
dataset = LeRobotDataset("Lemon-03/il_aloha_hammer_strikes_table_v1")
|
| 80 |
|
| 81 |
+
# Check content
|
| 82 |
+
print(f"Total episodes: {dataset.num_episodes}")
|
| 83 |
+
print(f"Cameras: {dataset.camera_keys}") # ['overhead_cam', 'wrist_cam_left', 'wrist_cam_right']
|
| 84 |
|
| 85 |
+
```
|
|
|
|
|
|
|
| 86 |
|
| 87 |
## Dataset Structure
|
| 88 |
|
| 89 |
+
[meta/info.json](https://www.google.com/search?q=meta/info.json):
|
| 90 |
+
|
| 91 |
```json
|
| 92 |
{
|
| 93 |
"codebase_version": "v3.0",
|
|
|
|
| 107 |
"features": {
|
| 108 |
"observation.state": {
|
| 109 |
"dtype": "float32",
|
| 110 |
+
"shape": [14],
|
|
|
|
|
|
|
| 111 |
"names": [
|
| 112 |
+
"left_waist", "left_shoulder", "left_elbow", "left_forearm_roll", "left_wrist_angle", "left_wrist_rotate", "left_gripper",
|
| 113 |
+
"right_waist", "right_shoulder", "right_elbow", "right_forearm_roll", "right_wrist_angle", "right_wrist_rotate", "right_gripper"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
]
|
| 115 |
},
|
| 116 |
"action": {
|
| 117 |
"dtype": "float32",
|
| 118 |
+
"shape": [14],
|
|
|
|
|
|
|
| 119 |
"names": [
|
| 120 |
+
"left_waist", "left_shoulder", "left_elbow", "left_forearm_roll", "left_wrist_angle", "left_wrist_rotate", "left_gripper",
|
| 121 |
+
"right_waist", "right_shoulder", "right_elbow", "right_forearm_roll", "right_wrist_angle", "right_wrist_rotate", "right_gripper"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
]
|
| 123 |
},
|
| 124 |
"observation.images.top": {
|
| 125 |
"dtype": "video",
|
| 126 |
+
"shape": [240, 360, 3],
|
| 127 |
+
"names": ["height", "width", "channel"],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
"info": {
|
|
|
|
|
|
|
| 129 |
"video.codec": "av1",
|
| 130 |
+
"video.fps": 50
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
}
|
| 132 |
},
|
| 133 |
"observation.images.wrist_cam_left": {
|
| 134 |
"dtype": "video",
|
| 135 |
+
"shape": [240, 360, 3],
|
| 136 |
+
"names": ["height", "width", "channel"],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
"info": {
|
|
|
|
|
|
|
| 138 |
"video.codec": "av1",
|
| 139 |
+
"video.fps": 50
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
}
|
| 141 |
},
|
| 142 |
"observation.images.wrist_cam_right": {
|
| 143 |
"dtype": "video",
|
| 144 |
+
"shape": [240, 360, 3],
|
| 145 |
+
"names": ["height", "width", "channel"],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 146 |
"info": {
|
|
|
|
|
|
|
| 147 |
"video.codec": "av1",
|
| 148 |
+
"video.fps": 50
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 150 |
}
|
| 151 |
}
|
| 152 |
}
|
|
|
|
| 153 |
|
| 154 |
+
```
|
| 155 |
|
| 156 |
## Citation
|
| 157 |
|
| 158 |
**BibTeX:**
|
| 159 |
|
| 160 |
```bibtex
|
| 161 |
+
@misc{lerobot_hammer_strikes_2025,
|
| 162 |
+
author = {Lemon-03},
|
| 163 |
+
title = {ALOHA Hammer Strikes Table Dataset (Joint Control)},
|
| 164 |
+
year = {2025},
|
| 165 |
+
publisher = {Hugging Face},
|
| 166 |
+
howpublished = {\url{[https://huggingface.co/datasets/Lemon-03/il_aloha_hammer_strikes_table](https://huggingface.co/datasets/Lemon-03/il_aloha_hammer_strikes_table)}},
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
```
|