widowx_task_hard / README.md
huyle1611's picture
Add dataset card
737376f verified
|
Raw History Blame Contribute Delete
3.43 kB
---
pretty_name: WidowX Hard Tasks (BridgeData V2 format)
task_categories:
- robotics
tags:
- robotics
- rlds
- bridgedata
- widowx
- teleoperation
size_categories:
- n<1K
---
# WidowX Hard Tasks (BridgeData V2 format)
VR-teleoperated demonstrations on a WidowX 250 (BridgeData V2 / `widowx_envs` setup, Quest 3S), collected
2026-11-19. They are stored as an RLDS / TFDS dataset with the same schema and processing as BridgeData V2's
`bridge_dataset` (Open-X `bridge_orig`), identical to
[Nilaksh404/widowx_pickplace_finetune](https://huggingface.co/datasets/Nilaksh404/widowx_pickplace_finetune).
| Task (language instruction) | train | val |
|---|---|---|
| `stack the pink block on top of the blue block` | 50 | 3 |
| `put the ducks in the red bowl and the rocks in the silver bowl` | 22 | 1 |
| `put the ducks in the silver bowl and the rocks in the red bowl` | 28 | 0 |
| **Total** | **100 episodes** | **4 episodes** |
16,933 steps in total: 16,390 train and 543 val. Episodes are 59–385 steps long, at about 5 Hz.
**Duck/rock instructions.** Each episode has rubber ducks, rocks, a red bowl and a silver bowl. The instruction
says which bowl the ducks go in; the rocks go in the other. Each episode's instruction was assigned
from where the ducks are at the end.
**Val split.** One duck/rock val episode (`pick_up_duck_rock/.../traj14`) is imperfect: one duck is left on the
table. One block val episode (`.../traj52`) was recorded with the teleop workspace limits on
(`action_clipping: xyz`); every other episode was recorded without limits.
## Schema
```
steps:
observation:
image_0 uint8 (256, 256, 3) main camera (raw images0, /blue/image_raw)
image_1 uint8 (256, 256, 3) second camera (raw images1, /yellow/image_raw)
image_2 uint8 (256, 256, 3) unused, zeros
image_3 uint8 (256, 256, 3) unused, zeros
state float32 (7,) [x, y, z, roll, pitch, yaw, gripper]
action float32 (7,) [dx, dy, dz, droll, dpitch, dyaw, gripper (absolute, 1 = open)]
discount, reward (1.0 on last step), is_first, is_last, is_terminal
language_instruction string
episode_metadata:
file_path, episode_id, has_image_0..3, has_language
```
**Processing.** This follows the official BridgeData V2 pipeline (`bridgedata_raw_to_numpy.py` and the
`bridge_dataset` RLDS builder):
- 640x480 frames are squashed to 256x256 with LANCZOS.
- `state` comes from `obs_dict["full_state"]`.
- Actions come from the teleop policy output.
- The final observation is dropped, so each step has one observation and one action.
**Yaw.** The duck/rock demos rotate the wrist a lot, so state yaw reaches ±π. In three episodes
(`pick_up_duck_rock` traj8, traj14 and traj47) it wraps from +π to −π mid-episode. That is how the robot reports
yaw; the actions are deltas and do not wrap.
## Loading
```python
from huggingface_hub import snapshot_download
import tensorflow_datasets as tfds
path = snapshot_download("huyle1611/widowx_task_hard", repo_type="dataset")
builder = tfds.builder_from_directory(f"{path}/widowx_task_hard/1.0.0")
ds = builder.as_dataset(split="train")
for episode in ds.take(1):
for step in episode["steps"]:
print(step["language_instruction"], step["action"])
```
For OpenVLA / Octo, point `data_root_dir` at the download folder and register `widowx_task_hard` with the same
dataset config and transform as `bridge_orig` / `bridge_dataset`.