oa2: RSS deploy unit (train_student run dir + SHA256SUMS)
Browse files- RSS/DEPLOY.md +17 -0
- RSS/SHA256SUMS +6 -0
- RSS/config.json +90 -0
- RSS/data_filter.json +11 -0
- RSS/model.safetensors +3 -0
- RSS/stats.json +52 -0
- RSS/succ_filter.json +128 -0
- RSS/train_args.json +23 -0
RSS/DEPLOY.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# RSS v2 SO-101 T1 student: deploy unit (oa2, 2026-11-22)
|
| 2 |
+
|
| 3 |
+
This is the same format as oa3's A student (`build_student2/student/tA_run`): the train_student run dir as-is, with the same stats.json keys.
|
| 4 |
+
The files are a byte copy of `runs/baseline_rss_so101_v2/student/t1_run`. Checksums are in `SHA256SUMS`.
|
| 5 |
+
|
| 6 |
+
- **Policy:** SmolVLA (init `lerobot/smolvla_base`), 15k steps, aug v1, seed 0.
|
| 7 |
+
- Task string: "lift the red cube and then place it back".
|
| 8 |
+
- Chunk 10, exec 5, res 128.
|
| 9 |
+
- **Data:** 1451 success-only eps collected in the RSS v2 twin (see `succ_filter.json`).
|
| 10 |
+
- **Twin eval:** in the RSS twin with DR, 0.719 ± 0.027 (seeds 0-2, 64 eps each).
|
| 11 |
+
- Repo: real2sim2real gt-table1, `results/so101/t1_student/rss/`.
|
| 12 |
+
- **Serve:** run `student_server.py --run <this dir> --seed <s> --port <p>` (so101-teacher-v2, `common/libero_twin`, env `envs/student`). It speaks the student_io protocol.
|
| 13 |
+
- **Real-side obs and action contract:** the same as A, per oa3, taken from `real_demos_bc.py` @181b317. Nothing is RSS-specific.
|
| 14 |
+
- state = q_arm + q_grip in sim-q;
|
| 15 |
+
- images agentview + wrist, via `student_io.SI.downsample` at 128 px;
|
| 16 |
+
- output = absolute joint target in sim-q, clipped by `stats.json` `action_clip`.
|
| 17 |
+
- Real ↔ sim-q mapping: use the one in `real_demos_bc.py`. It is not re-derived here.
|
RSS/SHA256SUMS
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
a5e2c82b009c09ea16121ba9ee612e03dfbad6b38143ce05d14de372b4b747d2 config.json
|
| 2 |
+
30c263a33b788e21655b2700877880a0b8b2f7facc72426bf19e18aed144e0f3 model.safetensors
|
| 3 |
+
a2356a6db3249d5e2ae74d7496e3cb77f57a40ae169f9ce576652ae2dcd7e892 stats.json
|
| 4 |
+
8153c6549186caeda889c804b79db9442bb7ac0011bba701339dc6447cda3599 train_args.json
|
| 5 |
+
08f1d8fd59471f2dd344204539bf0950c783155768a43fbc9f6262e35a64ad8f data_filter.json
|
| 6 |
+
1af2662cc51fee4f1f8ebe3a151ba1703992ad0727de5ea4e34a7b515a6b421d succ_filter.json
|
RSS/config.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "smolvla",
|
| 3 |
+
"n_obs_steps": 1,
|
| 4 |
+
"input_features": {
|
| 5 |
+
"observation.images.agentview": {
|
| 6 |
+
"type": "VISUAL",
|
| 7 |
+
"shape": [
|
| 8 |
+
3,
|
| 9 |
+
128,
|
| 10 |
+
128
|
| 11 |
+
]
|
| 12 |
+
},
|
| 13 |
+
"observation.images.wrist": {
|
| 14 |
+
"type": "VISUAL",
|
| 15 |
+
"shape": [
|
| 16 |
+
3,
|
| 17 |
+
128,
|
| 18 |
+
128
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
"observation.state": {
|
| 22 |
+
"type": "STATE",
|
| 23 |
+
"shape": [
|
| 24 |
+
6
|
| 25 |
+
]
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"output_features": {
|
| 29 |
+
"action": {
|
| 30 |
+
"type": "ACTION",
|
| 31 |
+
"shape": [
|
| 32 |
+
6
|
| 33 |
+
]
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"device": "cuda",
|
| 37 |
+
"use_amp": false,
|
| 38 |
+
"push_to_hub": true,
|
| 39 |
+
"repo_id": null,
|
| 40 |
+
"private": null,
|
| 41 |
+
"tags": null,
|
| 42 |
+
"license": null,
|
| 43 |
+
"pretrained_path": null,
|
| 44 |
+
"chunk_size": 10,
|
| 45 |
+
"n_action_steps": 5,
|
| 46 |
+
"normalization_mapping": {
|
| 47 |
+
"VISUAL": "IDENTITY",
|
| 48 |
+
"STATE": "MEAN_STD",
|
| 49 |
+
"ACTION": "MEAN_STD"
|
| 50 |
+
},
|
| 51 |
+
"max_state_dim": 32,
|
| 52 |
+
"max_action_dim": 32,
|
| 53 |
+
"resize_imgs_with_padding": [
|
| 54 |
+
512,
|
| 55 |
+
512
|
| 56 |
+
],
|
| 57 |
+
"empty_cameras": 0,
|
| 58 |
+
"adapt_to_pi_aloha": false,
|
| 59 |
+
"use_delta_joint_actions_aloha": false,
|
| 60 |
+
"tokenizer_max_length": 48,
|
| 61 |
+
"num_steps": 10,
|
| 62 |
+
"use_cache": true,
|
| 63 |
+
"freeze_vision_encoder": false,
|
| 64 |
+
"train_expert_only": false,
|
| 65 |
+
"train_state_proj": true,
|
| 66 |
+
"optimizer_lr": 0.0001,
|
| 67 |
+
"optimizer_betas": [
|
| 68 |
+
0.9,
|
| 69 |
+
0.95
|
| 70 |
+
],
|
| 71 |
+
"optimizer_eps": 1e-08,
|
| 72 |
+
"optimizer_weight_decay": 1e-10,
|
| 73 |
+
"optimizer_grad_clip_norm": 10.0,
|
| 74 |
+
"scheduler_warmup_steps": 1000,
|
| 75 |
+
"scheduler_decay_steps": 30000,
|
| 76 |
+
"scheduler_decay_lr": 2.5e-06,
|
| 77 |
+
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 78 |
+
"load_vlm_weights": true,
|
| 79 |
+
"add_image_special_tokens": false,
|
| 80 |
+
"attention_mode": "cross_attn",
|
| 81 |
+
"prefix_length": 0,
|
| 82 |
+
"pad_language_to": "max_length",
|
| 83 |
+
"num_expert_layers": 0,
|
| 84 |
+
"num_vlm_layers": 16,
|
| 85 |
+
"self_attn_every_n_layers": 2,
|
| 86 |
+
"expert_width_multiplier": 0.75,
|
| 87 |
+
"min_period": 0.004,
|
| 88 |
+
"max_period": 4.0,
|
| 89 |
+
"rtc_config": null
|
| 90 |
+
}
|
RSS/data_filter.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"total": 1451,
|
| 3 |
+
"kept": 1451,
|
| 4 |
+
"dropped_reclose": 0,
|
| 5 |
+
"dropped_flips": 0,
|
| 6 |
+
"max_flips": null,
|
| 7 |
+
"kept_frac": 1.0,
|
| 8 |
+
"auto_off": false,
|
| 9 |
+
"min_keep": 0.4,
|
| 10 |
+
"used": 1451
|
| 11 |
+
}
|
RSS/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30c263a33b788e21655b2700877880a0b8b2f7facc72426bf19e18aed144e0f3
|
| 3 |
+
size 906712520
|
RSS/stats.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"state_mean": [
|
| 3 |
+
-0.01943153142929077,
|
| 4 |
+
-0.26997604966163635,
|
| 5 |
+
0.6005895733833313,
|
| 6 |
+
0.3067050576210022,
|
| 7 |
+
-1.485234260559082,
|
| 8 |
+
0.6025723218917847
|
| 9 |
+
],
|
| 10 |
+
"state_std": [
|
| 11 |
+
0.36679962277412415,
|
| 12 |
+
0.6572993993759155,
|
| 13 |
+
0.5368639826774597,
|
| 14 |
+
0.4228784739971161,
|
| 15 |
+
0.2922525703907013,
|
| 16 |
+
0.4232361912727356
|
| 17 |
+
],
|
| 18 |
+
"action_mean": [
|
| 19 |
+
0.02761748805642128,
|
| 20 |
+
-0.24057191610336304,
|
| 21 |
+
0.5395389199256897,
|
| 22 |
+
0.19900141656398773,
|
| 23 |
+
-1.4682618379592896,
|
| 24 |
+
0.5128455758094788
|
| 25 |
+
],
|
| 26 |
+
"action_std": [
|
| 27 |
+
0.5404961109161377,
|
| 28 |
+
0.6091415882110596,
|
| 29 |
+
0.5194914937019348,
|
| 30 |
+
0.3933352530002594,
|
| 31 |
+
0.3766111731529236,
|
| 32 |
+
0.5464391708374023
|
| 33 |
+
],
|
| 34 |
+
"action_clip": [
|
| 35 |
+
[
|
| 36 |
+
-1.9666675329208374,
|
| 37 |
+
-1.7453300952911377,
|
| 38 |
+
-1.7776331901550293,
|
| 39 |
+
-1.6580599546432495,
|
| 40 |
+
-2.8203048706054688,
|
| 41 |
+
-0.17453299462795258
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
1.9697926044464111,
|
| 45 |
+
1.5316853523254395,
|
| 46 |
+
1.6899999380111694,
|
| 47 |
+
1.6580599546432495,
|
| 48 |
+
1.9478086233139038,
|
| 49 |
+
2.094399929046631
|
| 50 |
+
]
|
| 51 |
+
]
|
| 52 |
+
}
|
RSS/succ_filter.json
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"src": "/pfss/mlde/workspaces/mlde_wsp_RobustML/minhduc/runs/baseline_rss_so101_v2/student/t1_data",
|
| 3 |
+
"total": 1500,
|
| 4 |
+
"success": 1451,
|
| 5 |
+
"failure": 49,
|
| 6 |
+
"per_seed_ok_fail": {
|
| 7 |
+
"s320": [
|
| 8 |
+
50,
|
| 9 |
+
0
|
| 10 |
+
],
|
| 11 |
+
"s321": [
|
| 12 |
+
48,
|
| 13 |
+
2
|
| 14 |
+
],
|
| 15 |
+
"s322": [
|
| 16 |
+
49,
|
| 17 |
+
1
|
| 18 |
+
],
|
| 19 |
+
"s323": [
|
| 20 |
+
49,
|
| 21 |
+
1
|
| 22 |
+
],
|
| 23 |
+
"s324": [
|
| 24 |
+
46,
|
| 25 |
+
4
|
| 26 |
+
],
|
| 27 |
+
"s325": [
|
| 28 |
+
49,
|
| 29 |
+
1
|
| 30 |
+
],
|
| 31 |
+
"s326": [
|
| 32 |
+
48,
|
| 33 |
+
2
|
| 34 |
+
],
|
| 35 |
+
"s327": [
|
| 36 |
+
49,
|
| 37 |
+
1
|
| 38 |
+
],
|
| 39 |
+
"s328": [
|
| 40 |
+
46,
|
| 41 |
+
4
|
| 42 |
+
],
|
| 43 |
+
"s329": [
|
| 44 |
+
50,
|
| 45 |
+
0
|
| 46 |
+
],
|
| 47 |
+
"s330": [
|
| 48 |
+
49,
|
| 49 |
+
1
|
| 50 |
+
],
|
| 51 |
+
"s331": [
|
| 52 |
+
48,
|
| 53 |
+
2
|
| 54 |
+
],
|
| 55 |
+
"s332": [
|
| 56 |
+
48,
|
| 57 |
+
2
|
| 58 |
+
],
|
| 59 |
+
"s333": [
|
| 60 |
+
49,
|
| 61 |
+
1
|
| 62 |
+
],
|
| 63 |
+
"s334": [
|
| 64 |
+
47,
|
| 65 |
+
3
|
| 66 |
+
],
|
| 67 |
+
"s335": [
|
| 68 |
+
47,
|
| 69 |
+
3
|
| 70 |
+
],
|
| 71 |
+
"s336": [
|
| 72 |
+
49,
|
| 73 |
+
1
|
| 74 |
+
],
|
| 75 |
+
"s337": [
|
| 76 |
+
47,
|
| 77 |
+
3
|
| 78 |
+
],
|
| 79 |
+
"s338": [
|
| 80 |
+
49,
|
| 81 |
+
1
|
| 82 |
+
],
|
| 83 |
+
"s339": [
|
| 84 |
+
48,
|
| 85 |
+
2
|
| 86 |
+
],
|
| 87 |
+
"s340": [
|
| 88 |
+
50,
|
| 89 |
+
0
|
| 90 |
+
],
|
| 91 |
+
"s341": [
|
| 92 |
+
50,
|
| 93 |
+
0
|
| 94 |
+
],
|
| 95 |
+
"s342": [
|
| 96 |
+
49,
|
| 97 |
+
1
|
| 98 |
+
],
|
| 99 |
+
"s343": [
|
| 100 |
+
49,
|
| 101 |
+
1
|
| 102 |
+
],
|
| 103 |
+
"s344": [
|
| 104 |
+
47,
|
| 105 |
+
3
|
| 106 |
+
],
|
| 107 |
+
"s345": [
|
| 108 |
+
49,
|
| 109 |
+
1
|
| 110 |
+
],
|
| 111 |
+
"s346": [
|
| 112 |
+
48,
|
| 113 |
+
2
|
| 114 |
+
],
|
| 115 |
+
"s347": [
|
| 116 |
+
47,
|
| 117 |
+
3
|
| 118 |
+
],
|
| 119 |
+
"s348": [
|
| 120 |
+
49,
|
| 121 |
+
1
|
| 122 |
+
],
|
| 123 |
+
"s349": [
|
| 124 |
+
48,
|
| 125 |
+
2
|
| 126 |
+
]
|
| 127 |
+
}
|
| 128 |
+
}
|
RSS/train_args.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"data": "/pfss/mlde/workspaces/mlde_wsp_RobustML/minhduc/runs/baseline_rss_so101_v2/student/t1_data_succ",
|
| 3 |
+
"out": "/pfss/mlde/workspaces/mlde_wsp_RobustML/minhduc/runs/baseline_rss_so101_v2/student/t1_run",
|
| 4 |
+
"init": "lerobot/smolvla_base",
|
| 5 |
+
"steps": 15000,
|
| 6 |
+
"batch": 32,
|
| 7 |
+
"lr": 0.0001,
|
| 8 |
+
"warmup": 1000,
|
| 9 |
+
"seed": 0,
|
| 10 |
+
"task": "lift the red cube and then place it back",
|
| 11 |
+
"aug": "v1",
|
| 12 |
+
"para": "",
|
| 13 |
+
"release_w": 1.0,
|
| 14 |
+
"release_win": 10,
|
| 15 |
+
"grip_filter_max_flips": -1,
|
| 16 |
+
"episodes": 1451,
|
| 17 |
+
"samples": 212287,
|
| 18 |
+
"chunk": 10,
|
| 19 |
+
"exec": 5,
|
| 20 |
+
"res": 128,
|
| 21 |
+
"world_size": 1,
|
| 22 |
+
"minutes": 150.8754086693128
|
| 23 |
+
}
|