teachers/t5_w5: place_w 5 variant (kept for reference)
Browse files- teachers/t5_w5/README.md +20 -0
- teachers/t5_w5/SHA256SUMS +8 -0
- teachers/t5_w5/export/obs0.npy +3 -0
- teachers/t5_w5/export/policy.npz +3 -0
- teachers/t5_w5/export/spec.json +150 -0
- teachers/t5_w5/run/eval_twin_joint.json +222 -0
- teachers/t5_w5/run/model_798.pt +3 -0
- teachers/t5_w5/run/train_final.json +5 -0
- teachers/t5_w5/teacher_t5.sh +47 -0
teachers/t5_w5/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Teacher t5 (SO-101, lift the red cube and then place it back)
|
| 2 |
+
|
| 3 |
+
t4 `model_599` fine-tuned for 200 iterations with `--end_disp 0.05 --place_w 5` (MG2, 2026-11-23).
|
| 4 |
+
Code: github ducido/real2sim2real, branch `so101-res-mg2` @165301b (`validation/so101_real/teacher_t5.sh`).
|
| 5 |
+
|
| 6 |
+
Success = place gate (release <= 2.5 cm above the table) AND the final cube xy within 5 cm of its start.
|
| 7 |
+
The demos put the cube back at 1.1-3.6 cm.
|
| 8 |
+
|
| 9 |
+
Twin eval, 4096 envs (MG2):
|
| 10 |
+
|
| 11 |
+
| checkpoint | success | put-back at release q10 / q50 / q90 |
|
| 12 |
+
|---|---|---|
|
| 13 |
+
| @600 (= t4) | .941 | 0.8 / 2.0 / 3.9 cm |
|
| 14 |
+
| @798 (this) | .950 | 0.5 / 1.3 / 2.8 cm |
|
| 15 |
+
|
| 16 |
+
At @798 the release rise has a median of 8 mm, 0.26 % of releases are above 2.5 cm, and jerk is .013.
|
| 17 |
+
|
| 18 |
+
- `export/spec.json` has `end_disp_m` 0.05; collect_joint asserts it.
|
| 19 |
+
- Student twin flags: `teacher_t5.sh --print-twin` (t4's flags + `--end_disp 0.05`).
|
| 20 |
+
- RSI bank: the same as `teachers/t4/bank`.
|
teachers/t5_w5/SHA256SUMS
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
01f69da3ee6e3b75bd252b1bbde16ea0fbf282c3f510a6dbc20f2ef379a2511c README.md
|
| 2 |
+
6c8223428d116e82bb472eba463fca66199505e0cffb9afecf9df4df33fbdbfc export/obs0.npy
|
| 3 |
+
fa9bb69dcdbf8491c248a40fd70c4078f6657b997b4fbf9e0219818400895e49 export/policy.npz
|
| 4 |
+
e631b1ee81955e40311d2a63c501ff484cfc27655b7cf907b3060352e0fc6f84 export/spec.json
|
| 5 |
+
f674ce7c5beb3155b3500143c9d632f3de7e0cfd72783dd5a0d744a991d3eb8a run/eval_twin_joint.json
|
| 6 |
+
e3aa450b9aa4a6d0e65af4d2778c9619fdf51d80e5c8056b47c0fda3ff4debe0 run/model_798.pt
|
| 7 |
+
c71a9b012ebceaa77e15144c9c03da03d27cce78dc12024fd55eabe38d1cadfd run/train_final.json
|
| 8 |
+
a99a0f45996b849640833cb326c54bc5e8df46985f7ee04a9477d8d942b03f9b teacher_t5.sh
|
teachers/t5_w5/export/obs0.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c8223428d116e82bb472eba463fca66199505e0cffb9afecf9df4df33fbdbfc
|
| 3 |
+
size 556
|
teachers/t5_w5/export/policy.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa9bb69dcdbf8491c248a40fd70c4078f6657b997b4fbf9e0219818400895e49
|
| 3 |
+
size 511926
|
teachers/t5_w5/export/spec.json
ADDED
|
@@ -0,0 +1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
| 4 |
+
"obs": [
|
| 5 |
+
[
|
| 6 |
+
"q",
|
| 7 |
+
6
|
| 8 |
+
],
|
| 9 |
+
[
|
| 10 |
+
"qd",
|
| 11 |
+
6
|
| 12 |
+
],
|
| 13 |
+
[
|
| 14 |
+
"target",
|
| 15 |
+
6
|
| 16 |
+
],
|
| 17 |
+
[
|
| 18 |
+
"eef_pos",
|
| 19 |
+
3
|
| 20 |
+
],
|
| 21 |
+
[
|
| 22 |
+
"eef_rot6d",
|
| 23 |
+
6
|
| 24 |
+
],
|
| 25 |
+
[
|
| 26 |
+
"obj_pos",
|
| 27 |
+
3
|
| 28 |
+
],
|
| 29 |
+
[
|
| 30 |
+
"obj_rot6d",
|
| 31 |
+
6
|
| 32 |
+
],
|
| 33 |
+
[
|
| 34 |
+
"obj_minus_eef",
|
| 35 |
+
3
|
| 36 |
+
],
|
| 37 |
+
[
|
| 38 |
+
"obj_minus_tips",
|
| 39 |
+
3
|
| 40 |
+
],
|
| 41 |
+
[
|
| 42 |
+
"obj_vel",
|
| 43 |
+
3
|
| 44 |
+
],
|
| 45 |
+
[
|
| 46 |
+
"obj_start",
|
| 47 |
+
3
|
| 48 |
+
],
|
| 49 |
+
[
|
| 50 |
+
"rise",
|
| 51 |
+
1
|
| 52 |
+
],
|
| 53 |
+
[
|
| 54 |
+
"lifted",
|
| 55 |
+
1
|
| 56 |
+
],
|
| 57 |
+
[
|
| 58 |
+
"hold_frac",
|
| 59 |
+
1
|
| 60 |
+
],
|
| 61 |
+
[
|
| 62 |
+
"prev_action",
|
| 63 |
+
6
|
| 64 |
+
]
|
| 65 |
+
],
|
| 66 |
+
"joints": [
|
| 67 |
+
"shoulder_pan",
|
| 68 |
+
"shoulder_lift",
|
| 69 |
+
"elbow_flex",
|
| 70 |
+
"wrist_flex",
|
| 71 |
+
"wrist_roll",
|
| 72 |
+
"gripper"
|
| 73 |
+
],
|
| 74 |
+
"action": "delta: target += clip(a, -1, 1) * dq_max (rad, reported joints), clipped to the joint range; target starts at the reported joints",
|
| 75 |
+
"dq_max": [
|
| 76 |
+
0.010740491561591625,
|
| 77 |
+
0.026084065437316895,
|
| 78 |
+
0.023015333339571953,
|
| 79 |
+
0.013809222728013992,
|
| 80 |
+
0.010740486904978752,
|
| 81 |
+
0.09377125650644302
|
| 82 |
+
],
|
| 83 |
+
"control_freq": 30,
|
| 84 |
+
"privileged": true,
|
| 85 |
+
"goal": [
|
| 86 |
+
"cube",
|
| 87 |
+
{
|
| 88 |
+
"min_rise_m": 0.03,
|
| 89 |
+
"hold_s": 1.0,
|
| 90 |
+
"end_disp_m": 0.0734,
|
| 91 |
+
"end_rise_m": 0.015,
|
| 92 |
+
"lift_on_m": 0.02
|
| 93 |
+
}
|
| 94 |
+
],
|
| 95 |
+
"g_open": 0.460784335441783,
|
| 96 |
+
"obs_priv": [
|
| 97 |
+
[
|
| 98 |
+
"tip0_minus_obj",
|
| 99 |
+
3
|
| 100 |
+
],
|
| 101 |
+
[
|
| 102 |
+
"tip1_minus_obj",
|
| 103 |
+
3
|
| 104 |
+
],
|
| 105 |
+
[
|
| 106 |
+
"log_kp_ratio",
|
| 107 |
+
6
|
| 108 |
+
],
|
| 109 |
+
[
|
| 110 |
+
"log_kd_ratio",
|
| 111 |
+
6
|
| 112 |
+
],
|
| 113 |
+
[
|
| 114 |
+
"log_armature_ratio",
|
| 115 |
+
6
|
| 116 |
+
],
|
| 117 |
+
[
|
| 118 |
+
"log_frictionloss_ratio",
|
| 119 |
+
6
|
| 120 |
+
],
|
| 121 |
+
[
|
| 122 |
+
"log_max_torque_ratio",
|
| 123 |
+
6
|
| 124 |
+
],
|
| 125 |
+
[
|
| 126 |
+
"calib_offset",
|
| 127 |
+
6
|
| 128 |
+
],
|
| 129 |
+
[
|
| 130 |
+
"log_mass_ratio",
|
| 131 |
+
1
|
| 132 |
+
],
|
| 133 |
+
[
|
| 134 |
+
"log_size_scale",
|
| 135 |
+
3
|
| 136 |
+
],
|
| 137 |
+
[
|
| 138 |
+
"friction",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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"checkpoint": "model_600.pt",
|
| 5 |
+
"iteration": 600,
|
| 6 |
+
"n": 4096,
|
| 7 |
+
"success": 0.94091796875,
|
| 8 |
+
"lifted": 0.9658203125,
|
| 9 |
+
"put_back": 0.948486328125,
|
| 10 |
+
"rise_max_median_m": 0.08787848800420761,
|
| 11 |
+
"first_success_step": 145.08200073242188,
|
| 12 |
+
"target_rate_rms_rad": 0.054678280686893906,
|
| 13 |
+
"target_jerk_rms_rad": 0.01352860613402382,
|
| 14 |
+
"released": 0.9658203125,
|
| 15 |
+
"release_rise_q10_50_90_m": [
|
| 16 |
+
0.0009,
|
| 17 |
+
0.0068,
|
| 18 |
+
0.0154
|
| 19 |
+
],
|
| 20 |
+
"release_above_max": 0.0007583417593528817,
|
| 21 |
+
"release_rise_hist": [
|
| 22 |
+
1517,
|
| 23 |
+
1265,
|
| 24 |
+
1107,
|
| 25 |
+
67,
|
| 26 |
+
0,
|
| 27 |
+
0,
|
| 28 |
+
0,
|
| 29 |
+
0
|
| 30 |
+
],
|
| 31 |
+
"release_disp_q10_50_90_m": [
|
| 32 |
+
0.0078,
|
| 33 |
+
0.0198,
|
| 34 |
+
0.0393
|
| 35 |
+
],
|
| 36 |
+
"end_disp_m": 0.05,
|
| 37 |
+
"place_gate": true,
|
| 38 |
+
"restitution": [
|
| 39 |
+
0.0,
|
| 40 |
+
0.45
|
| 41 |
+
]
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"checkpoint": "model_700.pt",
|
| 45 |
+
"iteration": 700,
|
| 46 |
+
"n": 4096,
|
| 47 |
+
"success": 0.95458984375,
|
| 48 |
+
"lifted": 0.958984375,
|
| 49 |
+
"put_back": 0.955322265625,
|
| 50 |
+
"rise_max_median_m": 0.08447148650884628,
|
| 51 |
+
"first_success_step": 138.790283203125,
|
| 52 |
+
"target_rate_rms_rad": 0.05130525269830359,
|
| 53 |
+
"target_jerk_rms_rad": 0.012318890900514915,
|
| 54 |
+
"released": 0.958984375,
|
| 55 |
+
"release_rise_q10_50_90_m": [
|
| 56 |
+
0.0004,
|
| 57 |
+
0.0052,
|
| 58 |
+
0.0123
|
| 59 |
+
],
|
| 60 |
+
"release_above_max": 0.0002545824847250509,
|
| 61 |
+
"release_rise_hist": [
|
| 62 |
+
1908,
|
| 63 |
+
1320,
|
| 64 |
+
683,
|
| 65 |
+
16,
|
| 66 |
+
1,
|
| 67 |
+
0,
|
| 68 |
+
0,
|
| 69 |
+
0
|
| 70 |
+
],
|
| 71 |
+
"release_disp_q10_50_90_m": [
|
| 72 |
+
0.0054,
|
| 73 |
+
0.0142,
|
| 74 |
+
0.03
|
| 75 |
+
],
|
| 76 |
+
"end_disp_m": 0.05,
|
| 77 |
+
"place_gate": true,
|
| 78 |
+
"restitution": [
|
| 79 |
+
0.0,
|
| 80 |
+
0.45
|
| 81 |
+
]
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"checkpoint": "model_798.pt",
|
| 85 |
+
"iteration": 798,
|
| 86 |
+
"n": 4096,
|
| 87 |
+
"success": 0.949951171875,
|
| 88 |
+
"lifted": 0.956787109375,
|
| 89 |
+
"put_back": 0.95361328125,
|
| 90 |
+
"rise_max_median_m": 0.08781641721725464,
|
| 91 |
+
"first_success_step": 135.36880493164062,
|
| 92 |
+
"target_rate_rms_rad": 0.05370653588017964,
|
| 93 |
+
"target_jerk_rms_rad": 0.013282174302076209,
|
| 94 |
+
"released": 0.956298828125,
|
| 95 |
+
"release_rise_q10_50_90_m": [
|
| 96 |
+
0.002,
|
| 97 |
+
0.0079,
|
| 98 |
+
0.0167
|
| 99 |
+
],
|
| 100 |
+
"release_above_max": 0.0025529742149604288,
|
| 101 |
+
"release_rise_hist": [
|
| 102 |
+
1125,
|
| 103 |
+
1358,
|
| 104 |
+
1318,
|
| 105 |
+
113,
|
| 106 |
+
3,
|
| 107 |
+
0,
|
| 108 |
+
0,
|
| 109 |
+
0
|
| 110 |
+
],
|
| 111 |
+
"release_disp_q10_50_90_m": [
|
| 112 |
+
0.005,
|
| 113 |
+
0.0132,
|
| 114 |
+
0.028
|
| 115 |
+
],
|
| 116 |
+
"end_disp_m": 0.05,
|
| 117 |
+
"place_gate": true,
|
| 118 |
+
"restitution": [
|
| 119 |
+
0.0,
|
| 120 |
+
0.45
|
| 121 |
+
]
|
| 122 |
+
}
|
| 123 |
+
],
|
| 124 |
+
"dr": {
|
| 125 |
+
"robot": true,
|
| 126 |
+
"calib_deg": {
|
| 127 |
+
"wrist_roll": 5.0,
|
| 128 |
+
"shoulder_pan": 3.0
|
| 129 |
+
},
|
| 130 |
+
"mass_kg": [
|
| 131 |
+
0.010485763200000001,
|
| 132 |
+
0.0550502568
|
| 133 |
+
],
|
| 134 |
+
"start_xy_m": 0.02,
|
| 135 |
+
"start_yaw_deg": 20.0,
|
| 136 |
+
"object_dr": true,
|
| 137 |
+
"object_assumptions": [
|
| 138 |
+
{
|
| 139 |
+
"name": "density_kg_m3",
|
| 140 |
+
"prior": 900.0,
|
| 141 |
+
"range": [
|
| 142 |
+
400.0,
|
| 143 |
+
1400.0
|
| 144 |
+
],
|
| 145 |
+
"source": "solid: solid block of unknown wood / plastic: softwood 400 .. hardwood 900 .. PVC 1330 kg/m3 (Engineering ToolBox 'Wood Densities', 'Polymers - Physical Properties')"
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"name": "size_long_m",
|
| 149 |
+
"prior": 0.0354,
|
| 150 |
+
"range": [
|
| 151 |
+
0.0339,
|
| 152 |
+
0.0369
|
| 153 |
+
],
|
| 154 |
+
"source": "held FK jaw gap, median over 2 build demos"
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "size_short_m",
|
| 158 |
+
"prior": 0.0302,
|
| 159 |
+
"range": [
|
| 160 |
+
0.0284,
|
| 161 |
+
0.0335
|
| 162 |
+
],
|
| 163 |
+
"source": "held FK jaw gap, median over 6 build demos"
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"name": "size_height_m",
|
| 167 |
+
"prior": 0.0306,
|
| 168 |
+
"range": [
|
| 169 |
+
0.0275,
|
| 170 |
+
0.0337
|
| 171 |
+
],
|
| 172 |
+
"source": "build demos' agentview depth (~3 mm / px at the object): +-10 %"
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "resting_face",
|
| 176 |
+
"prior": "z",
|
| 177 |
+
"options": [
|
| 178 |
+
"x",
|
| 179 |
+
"y",
|
| 180 |
+
"z"
|
| 181 |
+
],
|
| 182 |
+
"source": "box axes whose length matches a build demo's measured height within 2.5 mm (the object rests on different faces across demos; Reviewer 2026-11-21: DR, not per-demo fitting)"
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"name": "yaw_off_axis_deg",
|
| 186 |
+
"prior": 0.0,
|
| 187 |
+
"range": [
|
| 188 |
+
-3.7,
|
| 189 |
+
3.7
|
| 190 |
+
],
|
| 191 |
+
"source": "held off-axis angle: box extent along the closing line = the held jaw gap; sign not observed -> +-; max over the build demos"
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"name": "friction",
|
| 195 |
+
"prior": 0.8,
|
| 196 |
+
"range": [
|
| 197 |
+
0.5,
|
| 198 |
+
1.2
|
| 199 |
+
],
|
| 200 |
+
"source": "generic prior, object_parts.FRICTION"
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"name": "torsional_friction",
|
| 204 |
+
"prior": 0.005,
|
| 205 |
+
"range": [
|
| 206 |
+
0.0,
|
| 207 |
+
0.05
|
| 208 |
+
],
|
| 209 |
+
"source": "object_parts prior"
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"name": "rolling_friction",
|
| 213 |
+
"prior": 0.0001,
|
| 214 |
+
"range": [
|
| 215 |
+
0.0,
|
| 216 |
+
0.001
|
| 217 |
+
],
|
| 218 |
+
"source": "object_parts prior"
|
| 219 |
+
}
|
| 220 |
+
]
|
| 221 |
+
}
|
| 222 |
+
}
|
teachers/t5_w5/run/model_798.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3aa450b9aa4a6d0e65af4d2778c9619fdf51d80e5c8056b47c0fda3ff4debe0
|
| 3 |
+
size 3068643
|
teachers/t5_w5/run/train_final.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"iteration": 798,
|
| 3 |
+
"success": 0.959,
|
| 4 |
+
"success_from_start": 0.9588
|
| 5 |
+
}
|
teachers/t5_w5/teacher_t5.sh
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Teacher t5 (Reviewer 2026-11-23): t4 put back within the task's 7.34 cm (students: 7.1 cm median, demos 1.1-3.6 cm).
|
| 3 |
+
# Fine-tune t4 model_599 for ITERS iterations with success = put back within 5 cm + a put-back distance cost at the release
|
| 4 |
+
# (--place_w), everything else = t4. Two cost weights in parallel (G0, G1); the 599 copy is evaluated too (= t4 under 5 cm).
|
| 5 |
+
# Gate (Reviewer): twin det >= .9 under the 5 cm success and release put-back median <= 3 cm. Restartable.
|
| 6 |
+
set -u -o pipefail
|
| 7 |
+
D=/pfss/mlde/workspaces/mlde_wsp_MGPATH/minhduc
|
| 8 |
+
HERE="$(dirname "$(readlink -f "$0")")"
|
| 9 |
+
H=$HERE/../../common/libero_twin
|
| 10 |
+
SCENE=so101__lift_the_red_cube_and_then_place_it_back
|
| 11 |
+
B=${B:-$D/runs/so101_t4} # t4's root: bank, assets, model_599
|
| 12 |
+
R=$B/root
|
| 13 |
+
T4=$R/rl/${T4_RUN:-t4_s0}
|
| 14 |
+
eval "$(bash $HERE/teacher_t4.sh --print-arrays)" # GATE CAP SMOOTH of t4
|
| 15 |
+
PUT=(--end_disp ${END_DISP:-0.05})
|
| 16 |
+
[ "${1:-}" = --print-twin ] && { echo "${GATE[@]} ${CAP[@]} ${PUT[@]}"; exit 0; } # collect_joint flags of t5 students
|
| 17 |
+
ITERS=${ITERS:-200}
|
| 18 |
+
BANK=$R/rl/pf1/rsi_bank_twin.npz
|
| 19 |
+
TL() {
|
| 20 |
+
local g=$1; shift
|
| 21 |
+
bash $H/run_isaac.sh $g train_libero.py --root $R --scene $SCENE --privileged --cache $B/cache_g$g "$@"
|
| 22 |
+
}
|
| 23 |
+
# preflight under the 5 cm success (demos 1.1-3.6 cm: replay must still pass, drops still fail)
|
| 24 |
+
[ -f $R/rl/pf_t5/preflight_joint.json ] || TL ${G0:-0} --run_name pf_t5 --preflight --bank $BANK "${GATE[@]}" "${CAP[@]}" "${PUT[@]}" \
|
| 25 |
+
> $B/logs/pf_t5.log 2>&1
|
| 26 |
+
$D/envs/isaac/bin/python -c "
|
| 27 |
+
import json, sys; p = json.load(open('$R/rl/pf_t5/preflight_joint.json')); g = p['gate']; r = p['replay']['per_demo']
|
| 28 |
+
ok = sum(x >= 0 for x in r['success_step'])
|
| 29 |
+
print('t5 preflight gate', g, 'replay', ok, '/', len(r['success_step'])); sys.exit(0 if ok >= 6 and all(v for k, v in g.items() if k != 'replay_ge_0p7') else 1)" \
|
| 30 |
+
| tee -a $B/logs/summary_t5.txt || { echo "t5 preflight failed: no training"; exit 1; }
|
| 31 |
+
run() { # $1 GPU, $2 place_w
|
| 32 |
+
local g=$1 w=$2 n=t5_w$2
|
| 33 |
+
mkdir -p $R/rl/$n
|
| 34 |
+
[ -f $R/rl/$n/model_599.pt ] || cp $T4/model_599.pt $R/rl/$n/model_599.pt
|
| 35 |
+
ls $R/rl/$n/model_$((599 + ITERS)).pt > /dev/null 2>&1 || TL $g --run_name $n --resume 599 --num_envs 4096 --iterations $ITERS \
|
| 36 |
+
--save_interval 25 --seed 0 --bank $BANK "${SMOOTH[@]}" "${GATE[@]}" "${CAP[@]}" "${PUT[@]}" --place_w $w > $B/logs/train_$n.log 2>&1
|
| 37 |
+
[ -f $R/rl/$n/eval_twin_joint.json ] || TL $g --run_name $n --num_envs 4096 --seed 0 --bank $BANK "${SMOOTH[@]}" "${GATE[@]}" "${CAP[@]}" \
|
| 38 |
+
"${PUT[@]}" --place_w $w --eval > $B/logs/eval_$n.log 2>&1
|
| 39 |
+
}
|
| 40 |
+
run ${G0:-0} ${W_A:-5} # one GPU (the other runs H_res): weights in sequence
|
| 41 |
+
run ${G0:-0} ${W_B:-15}
|
| 42 |
+
$D/envs/isaac/bin/python -c "
|
| 43 |
+
import json
|
| 44 |
+
for w in ('${W_A:-5}', '${W_B:-15}'):
|
| 45 |
+
for r in json.load(open('$R/rl/t5_w' + w + '/eval_twin_joint.json'))['rows']:
|
| 46 |
+
print('t5_w' + w, {k: r.get(k) for k in ('iteration', 'success', 'lifted', 'put_back', 'release_disp_q10_50_90_m', 'release_above_max', 'release_rise_q10_50_90_m', 'first_success_step', 'target_jerk_rms_rad')})
|
| 47 |
+
" | tee -a $B/logs/summary_t5.txt
|