mliu48's picture
Add files using upload-large-folder tool
97cfeff verified
|
Raw History Blame Contribute Delete
3.17 kB
---
license: apache-2.0
task_categories:
- reinforcement-learning
- robotics
tags:
- LeRobot
- TeleArms
- bimanual
- simulation
- offline-rl
---
# TeleArms offline RL, 100 tasks (images)
All 323,465 demonstrations of the 100 tasks of [telearms-gym](https://github.com/liuwilli10101/telearms-gym), bimanual YAM cube
manipulation in MuJoCo, with camera images, robot state, actions and rewards (LeRobot v3.0):
- 309,119 human teleoperated demos of the 69 human tasks, every one in the TeleArms v5 dataset;
- 14,346 synthetic demos of the 31 colour and letter variants: human demos of the variant's base
task with the cubes shown in the variant's colours and letters and the instruction rewritten,
the same states and actions. Only the colourings that are one of the gym's 31 variants are
included (of the v5 dataset's 197,543 synthetic demos).
The episode table gives each episode's `gym_task` (the gym task it belongs to), `source` (human or
synthetic), `source_uuid`, `recorded_length`, `terminated`, `return_sparse` and `return_dense`:
```python
import pandas as pd
from huggingface_hub import hf_hub_download
from lerobot.datasets.lerobot_dataset import LeRobotDataset
repo = "mliu48/telearms-offline-rl-100task-image"
eps = pd.read_parquet(hf_hub_download(repo, "meta/episodes/chunk-000/file-000.parquet", repo_type="dataset"))
one_task = eps.episode_index[eps.gym_task == "Front To Back Cube Line"].tolist()
dataset = LeRobotDataset(repo, episodes=one_task)
```
The same episodes without images, as Minari datasets of the simulator state (one per gym task,
in the same order), are [mliu48/telearms-offline-rl-100task-minari](https://huggingface.co/datasets/mliu48/telearms-offline-rl-100task-minari).
**Rewards.** Every demo was replayed in its task's environment
([telearms-gym](https://github.com/liuwilli10101/telearms-gym), `gym.make("telearms/<TaskWithoutSpaces>")`) from its recorded simulator
states and scored by that environment's rules. Frame t holds the observation before action t, and
its columns describe the transition that action makes:
- `next.reward`: the sparse reward, 1.0 on the step that reaches success, else 0.
- `next.reward_dense`: the `reward_type="dense"` reward, 1/N on the first step that reaches each of
the task's N stages (grasp, lift, place, ...) plus 1.0 on success; an episode's dense return is at most 2.
- `next.success`: true on the success step, which ends the episode (the environment's `terminated`).
- `next.done`: true on each episode's last frame.
Each demo ends at its first success, as the environment ends an episode: 394,097,030 recorded frames
become 386,490,954. 316,690 episodes end in success; 6,775 demos, accepted when they were played,
never satisfy the environment's task check and end without success.
**Images.** The three cameras (`camera_front`, `camera_left`, `camera_right`, 224×224, 30 Hz) are the
realistic domain-randomized renders of
[mliu48/telearms-yam-cube-v5-realistic](https://huggingface.co/datasets/mliu48/telearms-yam-cube-v5-realistic),
copied frame for frame, the same renders pi0.5 trains on. `meta/stats.json` keeps that dataset's
statistics and adds the reward columns'.