Datasets:
License:
Card for the telearms-gym rebuild
Browse files
README.md
CHANGED
|
@@ -26,11 +26,11 @@ root = os.environ.get("MINARI_DATASETS_PATH", os.path.expanduser("~/.minari/data
|
|
| 26 |
snapshot_download("mliu48/telearms", repo_type="dataset", local_dir=os.path.join(root, "telearms"),
|
| 27 |
allow_patterns="CubePatchPlacement/random-1500-v0/*")
|
| 28 |
dataset = minari.load_dataset("telearms/CubePatchPlacement/random-1500-v0")
|
| 29 |
-
env = dataset.recover_environment() # needs
|
| 30 |
```
|
| 31 |
|
| 32 |
The environment is `TeleArmsEnv(task, obs_mode="privileged")` in
|
| 33 |
-
[
|
| 34 |
before importing it.
|
| 35 |
|
| 36 |
**Observations** are the simulator's state, not images: the robot's 14 joint and gripper values,
|
|
@@ -55,7 +55,7 @@ is the sparse reward, 1.0 on the step that reaches success, else 0. `infos["rewa
|
|
| 55 |
environment's `reward_type="dense"` reward: 1/N on the first step that reaches each of the task's
|
| 56 |
N stages (grasp, lift, place, ...) plus 1.0 on success, at most 2 per episode. Each demo ends at
|
| 57 |
its first success (`terminations`), as the environment ends an episode. Of the 45,000 demos,
|
| 58 |
-
1.5% were accepted when played but never satisfy the
|
| 59 |
`truncations` and no reward.
|
| 60 |
|
| 61 |
The same demos with camera images are the `offline-rl` branch of
|
|
|
|
| 26 |
snapshot_download("mliu48/telearms", repo_type="dataset", local_dir=os.path.join(root, "telearms"),
|
| 27 |
allow_patterns="CubePatchPlacement/random-1500-v0/*")
|
| 28 |
dataset = minari.load_dataset("telearms/CubePatchPlacement/random-1500-v0")
|
| 29 |
+
env = dataset.recover_environment() # needs telearms-gym installed
|
| 30 |
```
|
| 31 |
|
| 32 |
The environment is `TeleArmsEnv(task, obs_mode="privileged")` in
|
| 33 |
+
[telearms-gym](https://github.com/liuwilli10101/telearms-gym) (`gymnasium_env/telearms_env.py`). On a machine without EGL, set `MUJOCO_GL=disable`
|
| 34 |
before importing it.
|
| 35 |
|
| 36 |
**Observations** are the simulator's state, not images: the robot's 14 joint and gripper values,
|
|
|
|
| 55 |
environment's `reward_type="dense"` reward: 1/N on the first step that reaches each of the task's
|
| 56 |
N stages (grasp, lift, place, ...) plus 1.0 on success, at most 2 per episode. Each demo ends at
|
| 57 |
its first success (`terminations`), as the environment ends an episode. Of the 45,000 demos,
|
| 58 |
+
665 (1.5%) were accepted when played but never satisfy the environment's task check; they end with
|
| 59 |
`truncations` and no reward.
|
| 60 |
|
| 61 |
The same demos with camera images are the `offline-rl` branch of
|