mh-hf commited on
Commit
bf4d514
·
verified ·
1 Parent(s): cc49e55

Document Drawer data and v1 evaluation

Browse files
Files changed (1) hide show
  1. README.md +20 -12
README.md CHANGED
@@ -2,28 +2,36 @@
2
  license: mit
3
  ---
4
 
5
- # LeWAM DexMimicGen TwoArmDrawerCleanup
6
 
7
- Goal-reaching checkpoint in the **LeWAM v1 format**. Files are stored at the repository root:
 
 
8
 
9
  ```text
10
  lewam_best.pt
11
  lewam_config.json
12
  ```
13
 
14
- Download both files into `$STABLEWM_HOME/checkpoints/<run_name>/`, then evaluate with the v1 code:
15
 
16
  ```bash
17
- python scripts/eval_lewam.py --config-name drawer policy=<run_name>
 
 
 
18
  ```
19
 
20
- The checkpoint was trained with `lewam-jointflow@2d52888` and converted to the v1 schema.
21
- Every retained tensor is exactly equal to the original after renaming; strict model loading,
22
- attention masks, encoder output, supplied-goal action prediction and dynamics prediction passed.
23
- Only the obsolete, all-zero `null_goal` tensor was removed; the original goal-dropout setting was zero.
24
- No optimizer state is included.
 
 
 
 
25
 
26
- Original checkpoint and historical performance: [source repository](https://huggingface.co/datasets/LeWAM/lewam_ckpt_pusht_puzzle_scene_cube_drawer).
27
- Drawer uses goal offset 50 and budget 100; the other tasks use offset 25 and budget 50.
28
 
29
- SHA256 of `lewam_best.pt`: `c91ddb9ec2cafa95e4166fdbec4093c7b4ff67bede8ee36bd12ee2598494f4f6`.
 
2
  license: mit
3
  ---
4
 
5
+ # LeWAM Drawer Cleanup
6
 
7
+ Goal-reaching checkpoint for DexMimicGen TwoArmDrawerCleanup in the [LeWAM v1 format](https://github.com/MinghaoFu/lewam/tree/v1).
8
+
9
+ ## Files
10
 
11
  ```text
12
  lewam_best.pt
13
  lewam_config.json
14
  ```
15
 
16
+ ## Download
17
 
18
  ```bash
19
+ export STABLEWM_HOME="${STABLEWM_HOME:-$HOME/.stable_worldmodel}"
20
+ hf download LeWAM/lewam-drawer --local-dir "$STABLEWM_HOME/checkpoints/lewam-drawer"
21
+ hf download LeWAM/lewam-drawer drawer.h5.zst --repo-type dataset --local-dir "$STABLEWM_HOME/datasets"
22
+ zstd -d --long=27 "$STABLEWM_HOME/datasets/drawer.h5.zst"
23
  ```
24
 
25
+ The [single-view dataset](https://huggingface.co/datasets/LeWAM/lewam-drawer) contains `model_xml` for all 1,026 episodes. The v1 environment uses it to restore each trajectory's payload geometry. The [three-view dataset](https://huggingface.co/datasets/LeWAM/lewam-drawer-3view) exposes the same column through `drawer_multiview.h5`.
26
+
27
+ ## Evaluation
28
+
29
+ ```bash
30
+ python scripts/eval_lewam.py --config-name drawer policy=lewam-drawer seed=42 \
31
+ eval.mode=lewam_plan eval.plan_mode=grad \
32
+ eval.grad_all_k=true eval.grad_tr=0.01 eval.exec_actions=5
33
+ ```
34
 
35
+ Goal offset: 50 steps. Action budget: 100 steps. Evaluation: 50 episodes per seed. Repeat with `seed=0` and `seed=1` for the three-seed results.
 
36
 
37
+ SHA256 of `lewam_best.pt`: `c91ddb9ec2cafa95e4166fdbec4093c7b4ff67bede8ee36bd12ee2598494f4f6`.