Add dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
pretty_name: Egocentric stereo-audio robot manipulation demonstrations (T1-T4)
|
| 4 |
+
task_categories:
|
| 5 |
+
- robotics
|
| 6 |
+
tags:
|
| 7 |
+
- robotics
|
| 8 |
+
- audio-visual
|
| 9 |
+
- stereo-audio
|
| 10 |
+
- sound-source-localization
|
| 11 |
+
- imitation-learning
|
| 12 |
+
- manipulation
|
| 13 |
+
- real-robot
|
| 14 |
+
- zarr
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Egocentric stereo-audio robot manipulation demonstrations (T1–T4)
|
| 18 |
+
|
| 19 |
+
Real-robot teleoperated demonstrations in which a robot arm uses a stereo microphone pair and an RGB camera on its wrist to find a sound source that starts out of the camera's view and then manipulates it.
|
| 20 |
+
|
| 21 |
+
- 4 tasks, 311 episodes, 136,954 steps (about 114 minutes) at 20 Hz.
|
| 22 |
+
- Per step: wrist RGB (policy input), wrist depth, external RGB and depth, 50 ms of stereo audio at 48 kHz, end-effector pose and gripper width.
|
| 23 |
+
- Robot: Franka Research 3, teleoperated with a gamepad. Cameras: Intel RealSense RGB-D.
|
| 24 |
+
|
| 25 |
+
## Files
|
| 26 |
+
|
| 27 |
+
| Path in this repository | Task | Original dataset name | Size |
|
| 28 |
+
|---|---|---|---|
|
| 29 |
+
| `T1_ring_off/replay_buffer.zarr.zip` | T1 Ring-off | `ral_v3_timer_ring_off_out_sight` | 1.50 GB |
|
| 30 |
+
| `T2_covered_phone/replay_buffer.zarr.zip` | T2 Covered phone | `rss_coverd_iphone` | 2.74 GB |
|
| 31 |
+
| `T3_call_bell/replay_buffer.zarr.zip` | T3 Call bell | `rss_short_time_bell` | 2.44 GB |
|
| 32 |
+
| `T4_animal_feeding/replay_buffer.zarr.zip` | T4 Animal feeding | `rss_dog_cat_duck` | 3.02 GB |
|
| 33 |
+
|
| 34 |
+
Sizes are in decimal GB (10^9 bytes).
|
| 35 |
+
|
| 36 |
+
## Tasks
|
| 37 |
+
|
| 38 |
+
- **T1 Ring-off.** A kitchen timer rings somewhere on a semicircular workspace around the robot, out of the wrist camera's view at the start. The robot turns toward the sound and presses the timer to stop it.
|
| 39 |
+
- **T2 Covered phone.** A phone rings under one of several identical towels. The robot finds the towel the sound comes from and pulls it off to uncover the phone.
|
| 40 |
+
- **T3 Call bell.** A call bell rings briefly. The robot goes to the bell, picks up the fork lying next to it and puts the fork into the cutlery tray.
|
| 41 |
+
- **T4 Animal feeding.** A speaker next to a bowl plays a dog, cat or duck call. The robot picks food from three trays at fixed positions (the animal call decides which tray) and drops it into the bowl (the direction of the call decides where).
|
| 42 |
+
|
| 43 |
+
| Task | Original name | Episodes | Steps | Episode length, mean (min–max) | Left / Front / Right | Held-out episodes (split seed) | Recorded |
|
| 44 |
+
|---|---|---|---|---|---|---|---|
|
| 45 |
+
| T1 | `ral_v3_timer_ring_off_out_sight` | 86 | 24,332 | 14.15 s (10.25–17.30 s) | 43 / 3 / 40 | 6, 7, 17, 35, 52, 59, 61, 71, 81 (seed 42) | 2026-09-09, 22:59–23:48 KST |
|
| 46 |
+
| T2 | `rss_coverd_iphone` | 80 | 36,431 | 22.77 s (19.40–27.60 s) | 39 / 3 / 38 | 3, 16, 18, 26, 51, 52, 62, 67 (seed 15) | 2026-10-06, 20:37–22:14 KST |
|
| 47 |
+
| T3 | `rss_short_time_bell` | 70 | 36,597 | 26.14 s (21.20–34.75 s) | 32 / 4 / 34 | 5, 6, 29, 43, 50, 59, 67 (seed 42) | on or before 2026-10-06 (archive written 17:44 KST) |
|
| 48 |
+
| T4 | `rss_dog_cat_duck` | 75 | 39,594 | 26.40 s (20.75–35.45 s) | 36 / 3 / 36 | 6, 8, 18, 29, 45, 47, 57, 72 (seed 44) | 2026-10-07, 15:42–17:56 KST |
|
| 49 |
+
|
| 50 |
+
T4 class blocks (episodes are stored in recording order, 25 per class):
|
| 51 |
+
|
| 52 |
+
| T4 class | Episodes | Left / Front / Right |
|
| 53 |
+
|---|---|---|
|
| 54 |
+
| dog | 0–24 | 12 / 1 / 12 |
|
| 55 |
+
| cat | 25–49 | 12 / 1 / 12 |
|
| 56 |
+
| duck | 50–74 | 12 / 1 / 12 |
|
| 57 |
+
|
| 58 |
+
Notes on the table:
|
| 59 |
+
|
| 60 |
+
- **Left / Front / Right** is the azimuth of the target point seen from the end-effector position at the first step, in the robot base frame (+x forward, +y left). |azimuth| ≤ 15° counts as front. The target point is the final end-effector position (T1, press), the first gripper close (T2 towel, T3 fork) or the first gripper re-open (T4, drop into the bowl).
|
| 61 |
+
- **Held-out episodes** are the episodes we held out for offline evaluation. They come from the training code's split function with `val_ratio = 0.1`:
|
| 62 |
+
```python
|
| 63 |
+
import numpy as np
|
| 64 |
+
n_val = min(max(1, round(n_episodes * 0.1)), n_episodes - 1)
|
| 65 |
+
held_out = np.random.default_rng(seed=seed).choice(n_episodes, size=n_val, replace=False)
|
| 66 |
+
```
|
| 67 |
+
- **Recorded** comes from the per-step wall-clock timestamps of the original recordings. These timestamps are not stored in the T3 archive, so only the date the archive was written is known for T3.
|
| 68 |
+
|
| 69 |
+
## Format
|
| 70 |
+
|
| 71 |
+
Each file is a zipped zarr (v2) group in the [Diffusion Policy](https://github.com/real-stanford/diffusion_policy) / [UMI](https://github.com/real-stanford/universal_manipulation_interface) `ReplayBuffer` layout. All arrays under `data/` share the first axis: the steps of all episodes, concatenated in order at 20 Hz. `meta/episode_ends[i]` is the exclusive end index of episode `i`.
|
| 72 |
+
|
| 73 |
+
| Key | Shape | Dtype | Content |
|
| 74 |
+
|---|---|---|---|
|
| 75 |
+
| `data/camera0_rgb` | (N, 224, 224, 3) | uint8 | Wrist RGB camera. This is the policy's image input. |
|
| 76 |
+
| `data/camera0_depth` | (N, 224, 224, 3) | uint8 | Wrist depth as a colorized image (see below). |
|
| 77 |
+
| `data/camera1_rgb` | (N, 224, 224, 3) | uint8 | External (third-person) RGB camera. Not a policy input. |
|
| 78 |
+
| `data/camera1_depth` | (N, 224, 224, 3) | uint8 | External depth as a colorized image. |
|
| 79 |
+
| `data/mic_0` | (N, 2400) | float64 | Left microphone waveform, 48 kHz, 2400 samples (50 ms) per step. |
|
| 80 |
+
| `data/mic_1` | (N, 2400) | float64 | Right microphone waveform, same layout. |
|
| 81 |
+
| `data/robot0_eef_pos` | (N, 3) | float32 | End-effector position (m) in the robot base frame. |
|
| 82 |
+
| `data/robot0_eef_rot_axis_angle` | (N, 3) | float32 | End-effector orientation as an axis-angle vector (rad). |
|
| 83 |
+
| `data/robot0_gripper_width` | (N, 1) | float32 | Gripper opening width (m). |
|
| 84 |
+
| `meta/episode_ends` | (E,) | int64 | Exclusive end index of each episode. |
|
| 85 |
+
|
| 86 |
+
- Images are stored one frame per chunk with JPEG-XL compression (`imagecodecs_jpegxl`), so reading them needs `imagecodecs` (see below). Other arrays use Blosc/LZ4.
|
| 87 |
+
- Original streams were RGB and depth at 640×480, 30 fps per camera, stereo audio at 48 kHz, end-effector pose at 100 Hz and gripper width at 30 Hz. They were synchronized to 20 Hz, and the images were resized to 224×224.
|
| 88 |
+
- The depth arrays are not metric depth. The recording code clips depth to 0.01–2.0 m, scales it linearly to 0–255 and applies the OpenCV VIRIDIS colormap. Pixels with no depth reading map to the colormap value of 0.
|
| 89 |
+
- Audio: to get a continuous waveform, flatten the rows of an episode (`mic_0[s:e].reshape(-1)`). The microphone spacing used in our training configuration is 0.12 m (a configuration value, not a measurement).
|
| 90 |
+
- There is no separate `action` array or timestamp array. Our training code builds the action from the proprioceptive arrays as `[eef_pos, eef_rot_axis_angle, gripper_width]` at the following steps, as in UMI.
|
| 91 |
+
|
| 92 |
+
## Loading
|
| 93 |
+
|
| 94 |
+
```python
|
| 95 |
+
# pip install "zarr<3" imagecodecs huggingface_hub
|
| 96 |
+
import zarr
|
| 97 |
+
from huggingface_hub import hf_hub_download
|
| 98 |
+
from imagecodecs.numcodecs import register_codecs
|
| 99 |
+
|
| 100 |
+
register_codecs() # registers the JPEG-XL codec used by the camera arrays
|
| 101 |
+
|
| 102 |
+
path = hf_hub_download(
|
| 103 |
+
repo_id="joonsu0109/soundact_data",
|
| 104 |
+
repo_type="dataset",
|
| 105 |
+
filename="T1_ring_off/replay_buffer.zarr.zip",
|
| 106 |
+
)
|
| 107 |
+
store = zarr.ZipStore(path, mode="r")
|
| 108 |
+
root = zarr.open(store, mode="r")
|
| 109 |
+
|
| 110 |
+
ends = root["meta/episode_ends"][:]
|
| 111 |
+
ep = 0
|
| 112 |
+
s, e = (0 if ep == 0 else int(ends[ep - 1])), int(ends[ep])
|
| 113 |
+
|
| 114 |
+
wrist_rgb = root["data/camera0_rgb"][s:e] # (T, 224, 224, 3) uint8
|
| 115 |
+
left = root["data/mic_0"][s:e].reshape(-1) # (T * 2400,) at 48 kHz
|
| 116 |
+
right = root["data/mic_1"][s:e].reshape(-1)
|
| 117 |
+
eef_pos = root["data/robot0_eef_pos"][s:e] # (T, 3)
|
| 118 |
+
gripper = root["data/robot0_gripper_width"][s:e] # (T, 1)
|
| 119 |
+
|
| 120 |
+
store.close()
|
| 121 |
+
```
|
| 122 |
+
|
| 123 |
+
## Distractor sounds
|
| 124 |
+
|
| 125 |
+
In our experiments, distractor sounds from ESC-50 are mixed into the audio as augmentation during training. ESC-50 is not included in this repository. Get it from the original source: https://github.com/karolpiczak/ESC-50
|
| 126 |
+
|
| 127 |
+
## License
|
| 128 |
+
|
| 129 |
+
License to be decided by the authors.
|