Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dynamic Intelligence - Humanoid Robots Training Dataset
|
| 2 |
+
|
| 3 |
+
RGB-D hand manipulation dataset captured with iPhone 13 TrueDepth sensor for humanoid robot training.
|
| 4 |
+
|
| 5 |
+
## 📊 Dataset Overview
|
| 6 |
+
|
| 7 |
+
| Metric | Value |
|
| 8 |
+
|--------|-------|
|
| 9 |
+
| Episodes | 97 |
|
| 10 |
+
| Total Frames | ~28,000 |
|
| 11 |
+
| FPS | 30 |
|
| 12 |
+
| Tasks | 10 manipulation tasks (folding, picking, placing) |
|
| 13 |
+
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
## 📁 Structure
|
| 17 |
+
|
| 18 |
+
```
|
| 19 |
+
data/
|
| 20 |
+
├── data/chunk-000/ # Parquet files per episode
|
| 21 |
+
│ ├── episode_000000.parquet
|
| 22 |
+
│ ├── episode_000001.parquet
|
| 23 |
+
│ └── ...
|
| 24 |
+
├── videos/chunk-000/rgb/ # MP4 videos per episode
|
| 25 |
+
│ ├── episode_000000.mp4
|
| 26 |
+
│ └── ...
|
| 27 |
+
└── meta/
|
| 28 |
+
├── info.json # Dataset metadata
|
| 29 |
+
├── stats.json # Feature statistics
|
| 30 |
+
├── events.json # Disturbance/recovery annotations
|
| 31 |
+
└── depth_quality_summary.json # Depth QC metrics
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## 🎯 Parquet Schema (per episode)
|
| 37 |
+
|
| 38 |
+
| Column | Type | Description |
|
| 39 |
+
|--------|------|-------------|
|
| 40 |
+
| `episode_index` | int64 | Episode number (0-96) |
|
| 41 |
+
| `frame_index` | int64 | Frame within episode |
|
| 42 |
+
| `timestamp` | float64 | Time in seconds |
|
| 43 |
+
| `language_instruction` | string | Task description (e.g., "Fold the white t-shirt") |
|
| 44 |
+
| `observation.state` | float[90] | 15 hand joints × 6 DoF (x,y,z in cm + yaw,pitch,roll in deg) |
|
| 45 |
+
| `action` | float[90] | Same as state (for imitation learning) |
|
| 46 |
+
| `observation.images.rgb` | struct | Video path + timestamp |
|
| 47 |
+
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
+
## 📋 Events Metadata (`meta/events.json`)
|
| 51 |
+
|
| 52 |
+
Annotated disturbances and recovery actions for select episodes.
|
| 53 |
+
|
| 54 |
+
### Disturbance Types
|
| 55 |
+
| Type | Description |
|
| 56 |
+
|------|-------------|
|
| 57 |
+
| `OCCLUSION` | Hand temporarily blocked from camera |
|
| 58 |
+
| `TARGET_MOVED` | Object shifted unexpectedly |
|
| 59 |
+
| `SLIP` | Object slipped during grasp |
|
| 60 |
+
| `COLLISION` | Unintended contact |
|
| 61 |
+
| `DEPTH_DROPOUT` | Depth sensor lost valid readings |
|
| 62 |
+
|
| 63 |
+
### Recovery Actions
|
| 64 |
+
| Action | Description |
|
| 65 |
+
|--------|-------------|
|
| 66 |
+
| `REGRASP` | Release and re-acquire object |
|
| 67 |
+
| `REACH_ADJUST` | Modify approach trajectory |
|
| 68 |
+
| `ABORT` | Stop current action |
|
| 69 |
+
| `REPLAN` | Compute new action sequence |
|
| 70 |
+
|
| 71 |
+
### Format
|
| 72 |
+
```json
|
| 73 |
+
{
|
| 74 |
+
"3": {
|
| 75 |
+
"task": "Task1",
|
| 76 |
+
"vid": "Vid6",
|
| 77 |
+
"events": [
|
| 78 |
+
{"kind": "disturbance", "type": "OCCLUSION", "t_start": 8.7, "t_end": 9.4},
|
| 79 |
+
{"kind": "recovery", "action": "REACH_ADJUST", "t_start": 9.4, "t_end": 10.5}
|
| 80 |
+
]
|
| 81 |
+
}
|
| 82 |
+
}
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
---
|
| 86 |
+
|
| 87 |
+
## 📈 Depth Quality Metrics (`meta/depth_quality_summary.json`)
|
| 88 |
+
|
| 89 |
+
Quality control metrics for each episode's depth data.
|
| 90 |
+
|
| 91 |
+
### Metrics Explained
|
| 92 |
+
|
| 93 |
+
| Metric | Description | Good Value |
|
| 94 |
+
|--------|-------------|------------|
|
| 95 |
+
| `valid_depth_pct` | % of frames with valid depth at hand location | > 90% |
|
| 96 |
+
| `plane_rms_mm` | RMS deviation from flat surface (mm) | < 10mm |
|
| 97 |
+
|
| 98 |
+
### Dataset Quality Summary
|
| 99 |
+
- **Average valid_depth_pct:** 95.5% ✅
|
| 100 |
+
- **Average plane_rms_mm:** 5.73mm ✅
|
| 101 |
+
- **Interpretation:** High-quality depth data suitable for 3D pose estimation
|
| 102 |
+
|
| 103 |
+
---
|
| 104 |
+
|
| 105 |
+
## 🔧 Capture Setup
|
| 106 |
+
|
| 107 |
+
- **Device:** iPhone 13 Pro (TrueDepth front camera)
|
| 108 |
+
- **RGB Resolution:** 640×480 @ 30fps
|
| 109 |
+
- **Depth Resolution:** 640×480 (synchronized with RGB)
|
| 110 |
+
- **Depth Format:** Meters (float32)
|
| 111 |
+
- **Hand Tracking:** MediaPipe (21 landmarks → 15 selected joints)
|
| 112 |
+
- **6-DoF Computation:** Back-projection + vector kinematics
|
| 113 |
+
|
| 114 |
+
---
|
| 115 |
+
|
| 116 |
+
## 📜 Episode Mapping
|
| 117 |
+
|
| 118 |
+
Episodes are ordered by Task then Video number:
|
| 119 |
+
|
| 120 |
+
| Episodes | Task | Description |
|
| 121 |
+
|----------|------|-------------|
|
| 122 |
+
| 0-7 | Task1 | T-shirt folding |
|
| 123 |
+
| 8-17 | Task2 | Object manipulation |
|
| 124 |
+
| 18-27 | Task3 | Pick and place |
|
| 125 |
+
| ... | ... | ... |
|
| 126 |
+
|
| 127 |
+
---
|
| 128 |
+
|
| 129 |
+
## 🚀 Usage with LeRobot
|
| 130 |
+
|
| 131 |
+
```python
|
| 132 |
+
from lerobot.common.datasets.lerobot_dataset import LeRobotDataset
|
| 133 |
+
|
| 134 |
+
dataset = LeRobotDataset("DynamicIntelligence/humanoid-robots-training-dataset")
|
| 135 |
+
|
| 136 |
+
# Access episode
|
| 137 |
+
episode = dataset[0]
|
| 138 |
+
state = episode["observation.state"] # [90] hand pose
|
| 139 |
+
rgb = episode["observation.images.rgb"] # Video frame
|
| 140 |
+
```
|
| 141 |
+
|
| 142 |
+
---
|
| 143 |
+
|
| 144 |
+
## 📧 Contact
|
| 145 |
+
|
| 146 |
+
**Organization:** Dynamic Intelligence
|
| 147 |
+
**HuggingFace:** [DynamicIntelligence](https://huggingface.co/DynamicIntelligence)
|
| 148 |
+
|