TommyShen commited on
Commit
a54fdef
·
verified ·
1 Parent(s): cd7db38

play-resample: refresh README.md (+maze)

Browse files
Files changed (1) hide show
  1. play-resample/README.md +12 -8
play-resample/README.md CHANGED
@@ -6,7 +6,9 @@ continuous rollout. This yields diverse *goals* (complementing the `play-noise`
6
  one fixed goal per episode and diverse *states*). The recorded observation carries the current
7
  (resampled) goal, so the goal channel stays consistent with the trajectory.
8
 
9
- **Totals:** 9 tasks · 1,346,945 transitions · 29,379 chained goals.
 
 
10
 
11
  ## Schema
12
 
@@ -37,6 +39,7 @@ Each `<Family>__<task>/buffer/episode_*.npz` holds the unified schema, one row p
37
  | `b2d-goal-ctrl-target` | Box2D | 200 | 200,000 | 16.6 | 3,328 | `tdmpc2-goal-resample` |
38
  | `b2d-goal-ctrl-target-vel` | Box2D | 200 | 200,000 | 13.4 | 2,685 | `tdmpc2-goal-resample` |
39
  | `b2d-goal-ctrl-target-hard` | Box2D | 200 | 200,000 | 11.2 | 2,246 | `tdmpc2-goal-resample` |
 
40
  | `air-hockey-puck-goal` | AirHockey | 200 | 210,705 | 6.3 | 1,257 | `sgcrl-consecutive-goal-resample` · 63 clipped |
41
 
42
  - **Metaworld** (`mw-*`): scripted oracle redirected by splicing our goal into `obs[-3:]`.
@@ -48,15 +51,16 @@ Each `<Family>__<task>/buffer/episode_*.npz` holds the unified schema, one row p
48
  the puck can be lost / leave a valid region, **episodes are clipped at the first `done`** and only
49
  the clean prefix (up to that point) is kept — so episode lengths vary and some attempts are
50
  dropped (see `clipped` count above). Typical chains are ~6 consecutive goals.
 
51
 
52
- ## Not included, and why
53
 
54
- **Box2D `goal-center` and `goal-maze` have no consecutive-goal version.** These are
55
- **single-fixed-goal tasks by construction**: in the env spec, center sets `goal_bounds=(0, 0)`
56
- (the goal is pinned to the arena center) and maze sets `goal_spawn_fixed=(3.8, 3.8)`. There is only
57
- one goal, so it cannot be resampled — rejection sampling has an empty set to draw from. The SGCRL
58
- checkpoints do reach that single goal, but a "chain" would be the same goal repeated. Both tasks are
59
- present in the `play-noise` subset instead (fixed goal + exploration noise → diverse states).
60
 
61
  ## Loading
62
 
 
6
  one fixed goal per episode and diverse *states*). The recorded observation carries the current
7
  (resampled) goal, so the goal channel stays consistent with the trajectory.
8
 
9
+ (One task, `b2d-goal-maze`, is instead **fixed-goal navigation** — its goal can't move; see the note below.)
10
+
11
+ **Totals:** 10 tasks · 1,426,945 transitions · 29,579 goals reached.
12
 
13
  ## Schema
14
 
 
39
  | `b2d-goal-ctrl-target` | Box2D | 200 | 200,000 | 16.6 | 3,328 | `tdmpc2-goal-resample` |
40
  | `b2d-goal-ctrl-target-vel` | Box2D | 200 | 200,000 | 13.4 | 2,685 | `tdmpc2-goal-resample` |
41
  | `b2d-goal-ctrl-target-hard` | Box2D | 200 | 200,000 | 11.2 | 2,246 | `tdmpc2-goal-resample` |
42
+ | `b2d-goal-maze` | Box2D | 200 | 80,000 | 1.0 | 200 | `sgcrl-fixed-goal-navigation` |
43
  | `air-hockey-puck-goal` | AirHockey | 200 | 210,705 | 6.3 | 1,257 | `sgcrl-consecutive-goal-resample` · 63 clipped |
44
 
45
  - **Metaworld** (`mw-*`): scripted oracle redirected by splicing our goal into `obs[-3:]`.
 
51
  the puck can be lost / leave a valid region, **episodes are clipped at the first `done`** and only
52
  the clean prefix (up to that point) is kept — so episode lengths vary and some attempts are
53
  dropped (see `clipped` count above). Typical chains are ~6 consecutive goals.
54
+ - **Box2D `b2d-goal-maze`** (fixed-goal navigation) — the one exception below.
55
 
56
+ ## A note on `b2d-goal-maze` (fixed-goal)
57
 
58
+ Unlike every other task here, **maze is a single-fixed-goal task**: in the env spec the goal is
59
+ pinned to a corner (`goal_spawn_fixed=(3.8, 3.8)`), so it never moves and has no consecutive-goal
60
+ version. This is therefore clean **fixed-goal navigation** — one goal per episode, the agent pushing
61
+ the target ball around the wall to the fixed corner — collected from the best of 20 SGCRL checkpoints
62
+ (**95% of episodes reach the goal**, ~92 steps dwelling at it). `goal_switch` marks the single
63
+ goal-reach (so `total_goals` == number of episodes, and `mean_goals_per_episode` reads 1.0).
64
 
65
  ## Loading
66