File size: 3,545 Bytes
0a77ad2
 
 
 
e310a8e
0a77ad2
e310a8e
 
0a77ad2
 
e310a8e
0a77ad2
 
e310a8e
 
 
0a77ad2
 
 
 
e310a8e
0a77ad2
e310a8e
0a77ad2
e310a8e
 
 
0a77ad2
e310a8e
0a77ad2
e310a8e
0a77ad2
 
 
 
e310a8e
 
 
 
 
 
 
 
 
 
0a77ad2
 
e310a8e
0a77ad2
e310a8e
 
 
 
0a77ad2
 
e310a8e
0a77ad2
e310a8e
0a77ad2
 
 
e310a8e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0a77ad2
 
 
e310a8e
0a77ad2
e310a8e
0a77ad2
 
e310a8e
 
0a77ad2
 
e310a8e
0a77ad2
e310a8e
 
 
 
 
 
0a77ad2
 
e310a8e
0a77ad2
e310a8e
6405517
0a77ad2
 
 
 
 
e310a8e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
---
license: mit
task_categories:
  - robotics
  - reinforcement-learning
tags:
  - LeRobot-v3
  - piper-robot
  - teleoperation
  - manipulation
  - imitation-learning
size_categories:
  - 1K<n<10K
language:
  - en
pretty_name: PiPER Robot Teaching Episodes
---

# PiPER Robot Teaching Episodes Dataset

**13 teleoperation demonstrations** for robot manipulation using a 7-DOF PiPER arm. Fully compatible with LeRobot v3 format.

## Quick Info

- **Episodes**: 13 | **Tasks**: 12 | **Size**: ~6.2 GB | **FPS**: 30
- **Robot**: PiPER 7-DOF arm | **Cameras**: Table (800×720) + Wrist | **Version**: v0.3
- **Format**: HDF5 + PNG images | **Compatible**: LeRobot v3, ACT, Diffusion Policy, SmolVLA

## Tasks

`cleaningcloth` `fillamentroll` `gamecontroller` `hexwrench` `pencil` `scissors` `scissors_hidden` `screwdriver` `smallkey` `smallpaper` `smallwoodenstick` `thinmetaldisk`

## Dataset Structure

```
{episode_name}_{timestamp}.hdf5          # Robot state, actions, compressed images
{episode_name}_{timestamp}.json          # Episode metadata (frames, fps, stats)
{episode_name}_images/
  ├── observation.images.table_cam/      # 800×720 PNG frames
  └── observation.images.wrist_cam/      # PNG frames (vertically flipped)
meta_data/
  ├── info.json                          # Dataset config, encoding, shapes
  ├── tasks.jsonl                        # Task definitions
  └── episodes.jsonl                     # Episode-task mapping
info.json                                # Root metadata (LeRobot v3)
```

### HDF5 Structure

- `observations/state`: 7-DOF joint angles (degrees)
- `observations/images/table_cam`: Compressed JPEG images
- `observations/images/wrist_cam`: Compressed JPEG images
- `actions`: 7-DOF commands
- `timestamps`: Frame timestamps

### Metadata (JSON)

Each episode JSON contains: `episode_name`, `n_frames`, `duration_seconds`, `fps`, `state_dim`, `cameras`, `state_stats` (mean/std/min/max), `recording_date`

## Usage

### LeRobot Library (Recommended)

```python
from lerobot.common.datasets.lerobot_dataset import LeRobotDataset

dataset = LeRobotDataset("charithmunasinghe/piper_picking_tests", version="v0.3")

for batch in dataset:
    state = batch['observation']['observation.state']
    action = batch['action']
    table_img = batch['observation']['observation.images.table_cam']
    wrist_img = batch['observation']['observation.images.wrist_cam']
```

### Visualize

```python
from lerobot.scripts.visualize_dataset import visualize_dataset

visualize_dataset(
    repo_id="charithmunasinghe/piper_picking_tests",
    episode_index=0,
    version="v0.3"
)
```

### Direct HDF5 Access

```python
import h5py
from PIL import Image
from pathlib import Path

with h5py.File("screwdriver_20251104_203022.hdf5", 'r') as f:
    states = f['observations/state'][:]
    actions = f['actions'][:]

img = Image.open("screwdriver_images/observation.images.table_cam/frame_000000.png")
```

## Dataset Info

- **Collection**: Human teleoperation in lab environment
- **Preprocessing**: Table camera cropped (+300,0 offset), wrist camera flipped vertically
- **Split**: Single train split (13 episodes)
- **License**: MIT

## Citation

```bibtex
@dataset{piper_teaching_episodes_2025,
  title={PiPER Robot Teaching Episodes Dataset},
  author={Munasinghe, Charith and Toffetti, Giovanni},
  year={2025},
  publisher={Hugging Face},
  howpublished={\url{https://huggingface.co/datasets/charithmunasinghe/piper_picking_tests}}
}
```

**Contact**: charithmunasinghe (Hugging Face)