lsnu commited on
Commit
20d0366
·
verified ·
1 Parent(s): ae83e33

Sync refreshed episode0 metrics, README, and validation helpers

Browse files
Files changed (34) hide show
  1. .gitattributes +1 -0
  2. MANIFEST.txt +0 -0
  3. README.md +16 -6
  4. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_00/templates.json +234 -0
  5. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_00/worker.log +28 -0
  6. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_00/xvfb.log +0 -0
  7. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_01/templates.json +234 -0
  8. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_01/worker.log +8 -0
  9. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_01/xvfb.log +0 -0
  10. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_02/templates.json +234 -0
  11. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_02/worker.log +13 -0
  12. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_02/xvfb.log +0 -0
  13. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_03/templates.json +234 -0
  14. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_03/worker.log +8 -0
  15. artifacts/results/iter6_parallel_smoke_4ep_independent/worker_03/xvfb.log +0 -0
  16. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_00/templates.json +234 -0
  17. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_00/worker.log +9 -0
  18. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_00/xvfb.log +0 -0
  19. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_01/templates.json +234 -0
  20. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_01/worker.log +5 -0
  21. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_01/xvfb.log +0 -0
  22. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_02/templates.json +234 -0
  23. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_02/worker.log +9 -0
  24. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_02/xvfb.log +0 -0
  25. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_03/templates.json +234 -0
  26. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_03/worker.log +5 -0
  27. artifacts/results/iter7_parallel_smoke_4ep_independent/worker_03/xvfb.log +0 -0
  28. artifacts/results/oven_episode0_iter6_independent_full/episode0.dense.csv +0 -0
  29. artifacts/results/oven_episode0_iter6_independent_full/episode0.keyframes.csv +14 -14
  30. artifacts/results/oven_episode0_iter6_independent_full/episode0.metrics.json +10 -10
  31. artifacts/results/oven_episode0_iter6_independent_full/summary.json +20 -20
  32. artifacts/results/oven_episode0_iter6_visual_checks/early_visibility_contact_sheet.png +3 -0
  33. code/rr_label_study/oven_study.py +92 -76
  34. code/scripts/refresh_saved_oven_study.py +100 -0
.gitattributes CHANGED
@@ -424,3 +424,4 @@ artifacts/results/oven_episode0_iter5_visual_checks/visibility_232.png filter=lf
424
  artifacts/results/oven_episode0_iter5_visual_checks/visibility_234.png filter=lfs diff=lfs merge=lfs -text
425
  artifacts/results/oven_episode0_iter5_visual_checks/visibility_260.png filter=lfs diff=lfs merge=lfs -text
426
  artifacts/results/oven_episode0_iter6_visual_checks/boundary_rgb_contact_sheet.png filter=lfs diff=lfs merge=lfs -text
 
 
424
  artifacts/results/oven_episode0_iter5_visual_checks/visibility_234.png filter=lfs diff=lfs merge=lfs -text
425
  artifacts/results/oven_episode0_iter5_visual_checks/visibility_260.png filter=lfs diff=lfs merge=lfs -text
426
  artifacts/results/oven_episode0_iter6_visual_checks/boundary_rgb_contact_sheet.png filter=lfs diff=lfs merge=lfs -text
427
+ artifacts/results/oven_episode0_iter6_visual_checks/early_visibility_contact_sheet.png filter=lfs diff=lfs merge=lfs -text
MANIFEST.txt CHANGED
The diff for this file is too large to render. See raw diff
 
README.md CHANGED
@@ -46,6 +46,7 @@ The old `iter4_*` outputs are still useful historical checkpoints, but the curre
46
  - Study runners and helpers.
47
  - `run_oven_label_study.py`: dense/keyframe study runner.
48
  - `launch_parallel_oven_label_study.py`: multi-display worker launcher.
 
49
  - `run_oven_single_frame.py`: single-frame recomputation helper.
50
  - `run_oven_frame_batch.py`: new sequential batch recomputation helper used to avoid late-frame drift.
51
  - `repair_oven_episode_dense.py`: batched repair pass for suspicious dense rows.
@@ -132,8 +133,9 @@ The current trustworthy artifacts are:
132
  - `artifacts/results/oven_episode0_iter6_independent_full/episode0.keyframes.csv`
133
  - `artifacts/results/oven_episode0_iter6_independent_full/episode0.metrics.json`
134
  - `artifacts/results/oven_episode0_iter6_independent_full/summary.json`
 
135
 
136
- Important note: the `iter6_independent_full` dense CSV is the authoritative low-level artifact. The saved JSON summary in that directory was produced before the last `phase_score` retune, so the dense CSV should be treated as ground truth if you are re-deriving phase metrics.
137
 
138
  ## Key Verified Findings
139
 
@@ -152,9 +154,10 @@ From the current independent-replay validation on episode 0:
152
  - frame `230`: `p_ext ≈ 0.0007`, `y_ext = 0`
153
  - frame `232`: `p_ext = 1.0`, `y_ext = 1`
154
  - frame `234`: `p_ext = 1.0`, `y_ext = 1`
155
- - In the full independent episode-0 run:
156
  - `ppre_cross_frame = 216`
157
  - `pext_cross_frame = 232`
 
158
  - `retrieve_cross_frame = 215`
159
  - `ready_cross_frame = 234`
160
  - `single_switch_rate = 1.0`
@@ -163,10 +166,15 @@ From the current independent-replay validation on episode 0:
163
  - `auprc_ppre_ypre ≈ 0.903`
164
  - `auroc_pext_yext = 1.0`
165
  - `auprc_pext_yext = 1.0`
166
- - After the final `phase_score` retune, recomputing phase columns on the dense CSV moves:
167
- - `first phase_switch` to frame `214`
168
- - `first y_retrieve` to frame `215`
169
- - `first y_ready` to frame `234`
 
 
 
 
 
170
 
171
  See:
172
 
@@ -222,7 +230,9 @@ Relevant current artifacts:
222
  - `artifacts/results/oven_episode0_iter4_batch/iter4_batch_comparison.csv`
223
  - `artifacts/results/oven_episode0_iter4_dense_geom_170_234.csv`
224
  - `artifacts/results/oven_episode0_iter6_independent_full/episode0.dense.csv`
 
225
  - `artifacts/results/oven_episode0_iter6_visual_checks/boundary_rgb_contact_sheet.png`
 
226
 
227
  ## Environment
228
 
 
46
  - Study runners and helpers.
47
  - `run_oven_label_study.py`: dense/keyframe study runner.
48
  - `launch_parallel_oven_label_study.py`: multi-display worker launcher.
49
+ - `refresh_saved_oven_study.py`: recompute keyframes, per-episode metrics, and summary JSONs from saved dense CSVs after metric-code changes.
50
  - `run_oven_single_frame.py`: single-frame recomputation helper.
51
  - `run_oven_frame_batch.py`: new sequential batch recomputation helper used to avoid late-frame drift.
52
  - `repair_oven_episode_dense.py`: batched repair pass for suspicious dense rows.
 
133
  - `artifacts/results/oven_episode0_iter6_independent_full/episode0.keyframes.csv`
134
  - `artifacts/results/oven_episode0_iter6_independent_full/episode0.metrics.json`
135
  - `artifacts/results/oven_episode0_iter6_independent_full/summary.json`
136
+ - `artifacts/results/oven_episode0_iter6_visual_checks/early_visibility_contact_sheet.png`
137
 
138
+ The `iter6_independent_full` CSVs and JSON summaries have been refreshed with the latest `phase_score` logic via `code/scripts/refresh_saved_oven_study.py`.
139
 
140
  ## Key Verified Findings
141
 
 
154
  - frame `230`: `p_ext ≈ 0.0007`, `y_ext = 0`
155
  - frame `232`: `p_ext = 1.0`, `y_ext = 1`
156
  - frame `234`: `p_ext = 1.0`, `y_ext = 1`
157
+ - In the refreshed full independent episode-0 run:
158
  - `ppre_cross_frame = 216`
159
  - `pext_cross_frame = 232`
160
+ - `phase_cross_frame = 214`
161
  - `retrieve_cross_frame = 215`
162
  - `ready_cross_frame = 234`
163
  - `single_switch_rate = 1.0`
 
166
  - `auprc_ppre_ypre ≈ 0.903`
167
  - `auroc_pext_yext = 1.0`
168
  - `auprc_pext_yext = 1.0`
169
+ - `auroc_phase_yretrieve = 1.0`
170
+ - `auprc_phase_yretrieve = 1.0`
171
+ - `f1_phase_yretrieve 0.996`
172
+ - `auroc_phase_yready 0.998`
173
+ - `f1_phase_yready ≈ 0.905`
174
+ - The refreshed phase columns now place:
175
+ - `first phase_switch` at frame `214`
176
+ - `first y_retrieve` at frame `215`
177
+ - `first y_ready` at frame `234`
178
 
179
  See:
180
 
 
230
  - `artifacts/results/oven_episode0_iter4_batch/iter4_batch_comparison.csv`
231
  - `artifacts/results/oven_episode0_iter4_dense_geom_170_234.csv`
232
  - `artifacts/results/oven_episode0_iter6_independent_full/episode0.dense.csv`
233
+ - `artifacts/results/oven_episode0_iter6_independent_full/summary.json`
234
  - `artifacts/results/oven_episode0_iter6_visual_checks/boundary_rgb_contact_sheet.png`
235
+ - `artifacts/results/oven_episode0_iter6_visual_checks/early_visibility_contact_sheet.png`
236
 
237
  ## Environment
238
 
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_00/templates.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "templates": {
3
+ "approach_rel_poses": [
4
+ [
5
+ -0.3625197505146321,
6
+ 0.08372429131714548,
7
+ 0.13691903626392898,
8
+ 0.6416348447407467,
9
+ 0.6410872565393582,
10
+ 0.29868034011062794,
11
+ 0.2968196589661076
12
+ ],
13
+ [
14
+ -0.32979445983162176,
15
+ 0.08659364792515764,
16
+ 0.12045077578809749,
17
+ 0.6287469690798895,
18
+ 0.6287301318727057,
19
+ 0.3243430018231259,
20
+ 0.32276506520462594
21
+ ],
22
+ [
23
+ -0.2910925493361141,
24
+ 0.08985276158129711,
25
+ 0.10101096601604831,
26
+ 0.6124184244028302,
27
+ 0.6122709767290938,
28
+ 0.35430518709849695,
29
+ 0.35289624381998647
30
+ ],
31
+ [
32
+ -0.244818538450706,
33
+ 0.09371070170750202,
34
+ 0.07770067425331129,
35
+ 0.5909841767637374,
36
+ 0.5908549510320831,
37
+ 0.3889344056030255,
38
+ 0.38776043866540033
39
+ ],
40
+ [
41
+ -0.19036243621330934,
42
+ 0.09824358579289771,
43
+ 0.04990667629200307,
44
+ 0.5635900638946065,
45
+ 0.5631538374566398,
46
+ 0.4277702591171187,
47
+ 0.4268917903310006
48
+ ],
49
+ [
50
+ -0.12217129631756263,
51
+ 0.09345070134195246,
52
+ -0.006546997831216039,
53
+ 0.5503450945485194,
54
+ 0.5264249147312487,
55
+ 0.4450459711257041,
56
+ 0.47109571176286236
57
+ ],
58
+ [
59
+ -0.11087643306877748,
60
+ 0.09014108451750254,
61
+ -0.031580235354697894,
62
+ 0.5622041544757288,
63
+ 0.5226343775452266,
64
+ 0.43323659021636735,
65
+ 0.472319651291199
66
+ ]
67
+ ],
68
+ "pregrasp_rel_pose": [
69
+ -0.12217129631756263,
70
+ 0.09345070134195246,
71
+ -0.006546997831216039,
72
+ 0.5503450945485194,
73
+ 0.5264249147312487,
74
+ 0.4450459711257041,
75
+ 0.47109571176286236
76
+ ],
77
+ "grasp_rel_pose": [
78
+ -0.09865615619553114,
79
+ 0.09471180553609355,
80
+ -0.023587008474192483,
81
+ 0.5452601219922814,
82
+ 0.5150377871073674,
83
+ 0.45379910210390734,
84
+ 0.48113808012481835
85
+ ],
86
+ "retreat_rel_poses": [
87
+ [
88
+ 0.2548525929450989,
89
+ 0.23748670518398285,
90
+ 0.292730450630188,
91
+ 0.3300291728725241,
92
+ 0.627796734434498,
93
+ 0.6244628081014154,
94
+ 0.3271058033489361
95
+ ],
96
+ [
97
+ 0.22123366594314575,
98
+ 0.20692090690135956,
99
+ 0.3001290559768677,
100
+ 0.3293369490711715,
101
+ 0.6272174893562581,
102
+ 0.6253236114995244,
103
+ 0.3272701879538016
104
+ ],
105
+ [
106
+ 0.17805954813957214,
107
+ 0.16776257753372192,
108
+ 0.3092261552810669,
109
+ 0.3292203946981642,
110
+ 0.627092205167199,
111
+ 0.6254558193462786,
112
+ 0.3273748859934127
113
+ ],
114
+ [
115
+ 0.132161945104599,
116
+ 0.1261904537677765,
117
+ 0.31862151622772217,
118
+ 0.32922833561062037,
119
+ 0.6270130163004302,
120
+ 0.6255370861132601,
121
+ 0.32736330630941085
122
+ ],
123
+ [
124
+ 0.05666536092758179,
125
+ 0.058310166001319885,
126
+ 0.33417391777038574,
127
+ 0.3290531759368521,
128
+ 0.6267400620289424,
129
+ 0.6259557840834131,
130
+ 0.3272617582705744
131
+ ],
132
+ [
133
+ 0.0558415949344635,
134
+ 0.05751470848917961,
135
+ 0.3844491243362427,
136
+ 0.32944931283048395,
137
+ 0.6271554580797323,
138
+ 0.6255767695203596,
139
+ 0.3267918100454689
140
+ ],
141
+ [
142
+ 0.05576580762863159,
143
+ 0.053012214601039886,
144
+ 0.5137358903884888,
145
+ 0.3352571906446373,
146
+ 0.6275228042160846,
147
+ 0.6205178281888475,
148
+ 0.329811114442256
149
+ ],
150
+ [
151
+ 0.05594903230667114,
152
+ 0.05725332349538803,
153
+ 0.6016567945480347,
154
+ 0.3290406683903203,
155
+ 0.6269357648722236,
156
+ 0.625839814295268,
157
+ 0.3271212498634039
158
+ ],
159
+ [
160
+ 0.11017268896102905,
161
+ 0.09445947408676147,
162
+ 0.6008111238479614,
163
+ 0.3295905054305836,
164
+ 0.6274618621218736,
165
+ 0.6252874250360436,
166
+ 0.3266149819043174
167
+ ],
168
+ [
169
+ 0.1597837209701538,
170
+ 0.1288578361272812,
171
+ 0.6011183261871338,
172
+ 0.3293548308249215,
173
+ 0.627458650421648,
174
+ 0.6253267712318655,
175
+ 0.32678351642036935
176
+ ],
177
+ [
178
+ 0.19115081429481506,
179
+ 0.15017743408679962,
180
+ 0.6012866497039795,
181
+ 0.3296702831570499,
182
+ 0.6273651178974856,
183
+ 0.6251746471824625,
184
+ 0.3269360392628933
185
+ ]
186
+ ],
187
+ "grasp_local_center": [
188
+ -0.09865615619553109,
189
+ 0.09471180553609354,
190
+ -0.02358700847419226
191
+ ],
192
+ "grasp_region_extents": [
193
+ 0.03,
194
+ 0.015,
195
+ 0.004
196
+ ],
197
+ "hold_open_angle": 0.7285879850387573,
198
+ "open_more_delta": 0.12,
199
+ "reference_tray_height": 1.0472617149353027,
200
+ "mask_handle_ids": [
201
+ 163
202
+ ]
203
+ },
204
+ "template_episode": "episode0",
205
+ "template_frames": {
206
+ "pregrasp": 229,
207
+ "grasp": 234,
208
+ "right_close": 91,
209
+ "right_open": 130,
210
+ "approach": [
211
+ 177,
212
+ 187,
213
+ 197,
214
+ 208,
215
+ 218,
216
+ 229,
217
+ 232
218
+ ],
219
+ "retreat": [
220
+ 239,
221
+ 244,
222
+ 249,
223
+ 254,
224
+ 264,
225
+ 274,
226
+ 284,
227
+ 295,
228
+ 305,
229
+ 310,
230
+ 315
231
+ ]
232
+ },
233
+ "episode_offset": 0
234
+ }
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_00/worker.log ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ WARNING:root:not sure how _robot_shapes are used is used.
2
+ WARNING:root:Waypoints are not reachable right=(False, 'waypoint0 - DualPanda') left=(True, '')
3
+ ERROR:root:Error when checking waypoints. Exception is: Error in task bimanual_take_tray_out_of_oven. Infeasible episode. Can't reach waypoint ((False, 'waypoint0 - DualPanda'), (True, '')).
4
+ WARNING: QApplication was not created in the main() thread.
5
+ WARNING:root:not sure how _robot_shapes are used is used.
6
+ WARNING:root:Waypoints are not reachable right=(False, 'waypoint0 - DualPanda') left=(True, '')
7
+ ERROR:root:Error when checking waypoints. Exception is: Error in task bimanual_take_tray_out_of_oven. Infeasible episode. Can't reach waypoint ((False, 'waypoint0 - DualPanda'), (True, '')).
8
+ [episode0] analyzed 25/329 dense frames
9
+ [episode0] analyzed 50/329 dense frames
10
+ [episode0] analyzed 75/329 dense frames
11
+ [episode0] analyzed 100/329 dense frames
12
+ The X11 connection broke (error 1). Did the X11 server die?
13
+ QMutex: destroying locked mutex
14
+ [CoppeliaSim:loadinfo] done.
15
+
16
+
17
+ Error: signal 11:
18
+
19
+ /workspace/coppelia_sim/libcoppeliaSim.so.1(_Z11_segHandleri+0x30)[0x7dfddcb0aae0]
20
+ /usr/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7dfed1961520]
21
+ /workspace/coppelia_sim/libcoppeliaSim.so.1(_ZNK8_CJoint_11getPositionEv+0x4)[0x7dfddc97f724]
22
+ /workspace/coppelia_sim/libcoppeliaSim.so.1(_Z19_validationCallbackPf+0x96)[0x7dfddccd9026]
23
+ /workspace/coppelia_sim/libsimExtIK.so(_Z21ikGetConfigForTipPoseimPKidiPdPKdPFbS1_ES0_S3_S3_+0x100c)[0x7dfe4c4ae5bc]
24
+ /workspace/coppelia_sim/libsimExtIK.so(ikPlugin_getConfigForTipPose+0x2af)[0x7dfe4c48a9ef]
25
+ /workspace/coppelia_sim/libcoppeliaSim.so.1(_ZN16CPluginContainer28ikPlugin_getConfigForTipPoseEiiPKifiPfPKfPFbS2_ES1_S4_S4_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x121)[0x7dfddccd8561]
26
+ /workspace/coppelia_sim/libcoppeliaSim.so.1(_Z31simGetConfigForTipPose_internaliiPKifiPfPKfiS0_S0_S3_S3_Pv+0x174)[0x7dfddcb58b64]
27
+ /workspace/pyrep/pyrep/backend/_sim_cffi.cpython-38-x86_64-linux-gnu.so(+0x47d4a)[0x7dfecde53d4a]
28
+ /workspace/miniforge3/envs/rlbench/bin/python(PyCFunction_Call+0xde)[0x5f046db3064e]
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_00/xvfb.log ADDED
File without changes
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_01/templates.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "templates": {
3
+ "approach_rel_poses": [
4
+ [
5
+ -0.3625197505146321,
6
+ 0.08372429131714548,
7
+ 0.13691903626392898,
8
+ 0.6416348447407467,
9
+ 0.6410872565393582,
10
+ 0.29868034011062794,
11
+ 0.2968196589661076
12
+ ],
13
+ [
14
+ -0.32979445983162176,
15
+ 0.08659364792515764,
16
+ 0.12045077578809749,
17
+ 0.6287469690798895,
18
+ 0.6287301318727057,
19
+ 0.3243430018231259,
20
+ 0.32276506520462594
21
+ ],
22
+ [
23
+ -0.2910925493361141,
24
+ 0.08985276158129711,
25
+ 0.10101096601604831,
26
+ 0.6124184244028302,
27
+ 0.6122709767290938,
28
+ 0.35430518709849695,
29
+ 0.35289624381998647
30
+ ],
31
+ [
32
+ -0.244818538450706,
33
+ 0.09371070170750202,
34
+ 0.07770067425331129,
35
+ 0.5909841767637374,
36
+ 0.5908549510320831,
37
+ 0.3889344056030255,
38
+ 0.38776043866540033
39
+ ],
40
+ [
41
+ -0.19036243621330934,
42
+ 0.09824358579289771,
43
+ 0.04990667629200307,
44
+ 0.5635900638946065,
45
+ 0.5631538374566398,
46
+ 0.4277702591171187,
47
+ 0.4268917903310006
48
+ ],
49
+ [
50
+ -0.12217129631756263,
51
+ 0.09345070134195246,
52
+ -0.006546997831216039,
53
+ 0.5503450945485194,
54
+ 0.5264249147312487,
55
+ 0.4450459711257041,
56
+ 0.47109571176286236
57
+ ],
58
+ [
59
+ -0.11087643306877748,
60
+ 0.09014108451750254,
61
+ -0.031580235354697894,
62
+ 0.5622041544757288,
63
+ 0.5226343775452266,
64
+ 0.43323659021636735,
65
+ 0.472319651291199
66
+ ]
67
+ ],
68
+ "pregrasp_rel_pose": [
69
+ -0.12217129631756263,
70
+ 0.09345070134195246,
71
+ -0.006546997831216039,
72
+ 0.5503450945485194,
73
+ 0.5264249147312487,
74
+ 0.4450459711257041,
75
+ 0.47109571176286236
76
+ ],
77
+ "grasp_rel_pose": [
78
+ -0.09865615619553114,
79
+ 0.09471180553609355,
80
+ -0.023587008474192483,
81
+ 0.5452601219922814,
82
+ 0.5150377871073674,
83
+ 0.45379910210390734,
84
+ 0.48113808012481835
85
+ ],
86
+ "retreat_rel_poses": [
87
+ [
88
+ 0.2548525929450989,
89
+ 0.23748670518398285,
90
+ 0.292730450630188,
91
+ 0.3300291728725241,
92
+ 0.627796734434498,
93
+ 0.6244628081014154,
94
+ 0.3271058033489361
95
+ ],
96
+ [
97
+ 0.22123366594314575,
98
+ 0.20692090690135956,
99
+ 0.3001290559768677,
100
+ 0.3293369490711715,
101
+ 0.6272174893562581,
102
+ 0.6253236114995244,
103
+ 0.3272701879538016
104
+ ],
105
+ [
106
+ 0.17805954813957214,
107
+ 0.16776257753372192,
108
+ 0.3092261552810669,
109
+ 0.3292203946981642,
110
+ 0.627092205167199,
111
+ 0.6254558193462786,
112
+ 0.3273748859934127
113
+ ],
114
+ [
115
+ 0.132161945104599,
116
+ 0.1261904537677765,
117
+ 0.31862151622772217,
118
+ 0.32922833561062037,
119
+ 0.6270130163004302,
120
+ 0.6255370861132601,
121
+ 0.32736330630941085
122
+ ],
123
+ [
124
+ 0.05666536092758179,
125
+ 0.058310166001319885,
126
+ 0.33417391777038574,
127
+ 0.3290531759368521,
128
+ 0.6267400620289424,
129
+ 0.6259557840834131,
130
+ 0.3272617582705744
131
+ ],
132
+ [
133
+ 0.0558415949344635,
134
+ 0.05751470848917961,
135
+ 0.3844491243362427,
136
+ 0.32944931283048395,
137
+ 0.6271554580797323,
138
+ 0.6255767695203596,
139
+ 0.3267918100454689
140
+ ],
141
+ [
142
+ 0.05576580762863159,
143
+ 0.053012214601039886,
144
+ 0.5137358903884888,
145
+ 0.3352571906446373,
146
+ 0.6275228042160846,
147
+ 0.6205178281888475,
148
+ 0.329811114442256
149
+ ],
150
+ [
151
+ 0.05594903230667114,
152
+ 0.05725332349538803,
153
+ 0.6016567945480347,
154
+ 0.3290406683903203,
155
+ 0.6269357648722236,
156
+ 0.625839814295268,
157
+ 0.3271212498634039
158
+ ],
159
+ [
160
+ 0.11017268896102905,
161
+ 0.09445947408676147,
162
+ 0.6008111238479614,
163
+ 0.3295905054305836,
164
+ 0.6274618621218736,
165
+ 0.6252874250360436,
166
+ 0.3266149819043174
167
+ ],
168
+ [
169
+ 0.1597837209701538,
170
+ 0.1288578361272812,
171
+ 0.6011183261871338,
172
+ 0.3293548308249215,
173
+ 0.627458650421648,
174
+ 0.6253267712318655,
175
+ 0.32678351642036935
176
+ ],
177
+ [
178
+ 0.19115081429481506,
179
+ 0.15017743408679962,
180
+ 0.6012866497039795,
181
+ 0.3296702831570499,
182
+ 0.6273651178974856,
183
+ 0.6251746471824625,
184
+ 0.3269360392628933
185
+ ]
186
+ ],
187
+ "grasp_local_center": [
188
+ -0.09865615619553109,
189
+ 0.09471180553609354,
190
+ -0.02358700847419226
191
+ ],
192
+ "grasp_region_extents": [
193
+ 0.03,
194
+ 0.015,
195
+ 0.004
196
+ ],
197
+ "hold_open_angle": 0.7285879850387573,
198
+ "open_more_delta": 0.12,
199
+ "reference_tray_height": 1.0472617149353027,
200
+ "mask_handle_ids": [
201
+ 163
202
+ ]
203
+ },
204
+ "template_episode": "episode0",
205
+ "template_frames": {
206
+ "pregrasp": 229,
207
+ "grasp": 234,
208
+ "right_close": 91,
209
+ "right_open": 130,
210
+ "approach": [
211
+ 177,
212
+ 187,
213
+ 197,
214
+ 208,
215
+ 218,
216
+ 229,
217
+ 232
218
+ ],
219
+ "retreat": [
220
+ 239,
221
+ 244,
222
+ 249,
223
+ 254,
224
+ 264,
225
+ 274,
226
+ 284,
227
+ 295,
228
+ 305,
229
+ 310,
230
+ 315
231
+ ]
232
+ },
233
+ "episode_offset": 1
234
+ }
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_01/worker.log ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ WARNING:root:not sure how _robot_shapes are used is used.
2
+ WARNING:root:Waypoints are not reachable right=(False, 'waypoint0 - DualPanda') left=(True, '')
3
+ ERROR:root:Error when checking waypoints. Exception is: Error in task bimanual_take_tray_out_of_oven. Infeasible episode. Can't reach waypoint ((False, 'waypoint0 - DualPanda'), (True, '')).
4
+ WARNING: QApplication was not created in the main() thread.
5
+ WARNING:root:not sure how _robot_shapes are used is used.
6
+ [episode1] analyzed 25/312 dense frames
7
+ The X11 connection broke (error 1). Did the X11 server die?
8
+ [CoppeliaSim:loadinfo] done.
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_01/xvfb.log ADDED
File without changes
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_02/templates.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "templates": {
3
+ "approach_rel_poses": [
4
+ [
5
+ -0.3625197505146321,
6
+ 0.08372429131714548,
7
+ 0.13691903626392898,
8
+ 0.6416348447407467,
9
+ 0.6410872565393582,
10
+ 0.29868034011062794,
11
+ 0.2968196589661076
12
+ ],
13
+ [
14
+ -0.32979445983162176,
15
+ 0.08659364792515764,
16
+ 0.12045077578809749,
17
+ 0.6287469690798895,
18
+ 0.6287301318727057,
19
+ 0.3243430018231259,
20
+ 0.32276506520462594
21
+ ],
22
+ [
23
+ -0.2910925493361141,
24
+ 0.08985276158129711,
25
+ 0.10101096601604831,
26
+ 0.6124184244028302,
27
+ 0.6122709767290938,
28
+ 0.35430518709849695,
29
+ 0.35289624381998647
30
+ ],
31
+ [
32
+ -0.244818538450706,
33
+ 0.09371070170750202,
34
+ 0.07770067425331129,
35
+ 0.5909841767637374,
36
+ 0.5908549510320831,
37
+ 0.3889344056030255,
38
+ 0.38776043866540033
39
+ ],
40
+ [
41
+ -0.19036243621330934,
42
+ 0.09824358579289771,
43
+ 0.04990667629200307,
44
+ 0.5635900638946065,
45
+ 0.5631538374566398,
46
+ 0.4277702591171187,
47
+ 0.4268917903310006
48
+ ],
49
+ [
50
+ -0.12217129631756263,
51
+ 0.09345070134195246,
52
+ -0.006546997831216039,
53
+ 0.5503450945485194,
54
+ 0.5264249147312487,
55
+ 0.4450459711257041,
56
+ 0.47109571176286236
57
+ ],
58
+ [
59
+ -0.11087643306877748,
60
+ 0.09014108451750254,
61
+ -0.031580235354697894,
62
+ 0.5622041544757288,
63
+ 0.5226343775452266,
64
+ 0.43323659021636735,
65
+ 0.472319651291199
66
+ ]
67
+ ],
68
+ "pregrasp_rel_pose": [
69
+ -0.12217129631756263,
70
+ 0.09345070134195246,
71
+ -0.006546997831216039,
72
+ 0.5503450945485194,
73
+ 0.5264249147312487,
74
+ 0.4450459711257041,
75
+ 0.47109571176286236
76
+ ],
77
+ "grasp_rel_pose": [
78
+ -0.09865615619553114,
79
+ 0.09471180553609355,
80
+ -0.023587008474192483,
81
+ 0.5452601219922814,
82
+ 0.5150377871073674,
83
+ 0.45379910210390734,
84
+ 0.48113808012481835
85
+ ],
86
+ "retreat_rel_poses": [
87
+ [
88
+ 0.2548525929450989,
89
+ 0.23748670518398285,
90
+ 0.292730450630188,
91
+ 0.3300291728725241,
92
+ 0.627796734434498,
93
+ 0.6244628081014154,
94
+ 0.3271058033489361
95
+ ],
96
+ [
97
+ 0.22123366594314575,
98
+ 0.20692090690135956,
99
+ 0.3001290559768677,
100
+ 0.3293369490711715,
101
+ 0.6272174893562581,
102
+ 0.6253236114995244,
103
+ 0.3272701879538016
104
+ ],
105
+ [
106
+ 0.17805954813957214,
107
+ 0.16776257753372192,
108
+ 0.3092261552810669,
109
+ 0.3292203946981642,
110
+ 0.627092205167199,
111
+ 0.6254558193462786,
112
+ 0.3273748859934127
113
+ ],
114
+ [
115
+ 0.132161945104599,
116
+ 0.1261904537677765,
117
+ 0.31862151622772217,
118
+ 0.32922833561062037,
119
+ 0.6270130163004302,
120
+ 0.6255370861132601,
121
+ 0.32736330630941085
122
+ ],
123
+ [
124
+ 0.05666536092758179,
125
+ 0.058310166001319885,
126
+ 0.33417391777038574,
127
+ 0.3290531759368521,
128
+ 0.6267400620289424,
129
+ 0.6259557840834131,
130
+ 0.3272617582705744
131
+ ],
132
+ [
133
+ 0.0558415949344635,
134
+ 0.05751470848917961,
135
+ 0.3844491243362427,
136
+ 0.32944931283048395,
137
+ 0.6271554580797323,
138
+ 0.6255767695203596,
139
+ 0.3267918100454689
140
+ ],
141
+ [
142
+ 0.05576580762863159,
143
+ 0.053012214601039886,
144
+ 0.5137358903884888,
145
+ 0.3352571906446373,
146
+ 0.6275228042160846,
147
+ 0.6205178281888475,
148
+ 0.329811114442256
149
+ ],
150
+ [
151
+ 0.05594903230667114,
152
+ 0.05725332349538803,
153
+ 0.6016567945480347,
154
+ 0.3290406683903203,
155
+ 0.6269357648722236,
156
+ 0.625839814295268,
157
+ 0.3271212498634039
158
+ ],
159
+ [
160
+ 0.11017268896102905,
161
+ 0.09445947408676147,
162
+ 0.6008111238479614,
163
+ 0.3295905054305836,
164
+ 0.6274618621218736,
165
+ 0.6252874250360436,
166
+ 0.3266149819043174
167
+ ],
168
+ [
169
+ 0.1597837209701538,
170
+ 0.1288578361272812,
171
+ 0.6011183261871338,
172
+ 0.3293548308249215,
173
+ 0.627458650421648,
174
+ 0.6253267712318655,
175
+ 0.32678351642036935
176
+ ],
177
+ [
178
+ 0.19115081429481506,
179
+ 0.15017743408679962,
180
+ 0.6012866497039795,
181
+ 0.3296702831570499,
182
+ 0.6273651178974856,
183
+ 0.6251746471824625,
184
+ 0.3269360392628933
185
+ ]
186
+ ],
187
+ "grasp_local_center": [
188
+ -0.09865615619553109,
189
+ 0.09471180553609354,
190
+ -0.02358700847419226
191
+ ],
192
+ "grasp_region_extents": [
193
+ 0.03,
194
+ 0.015,
195
+ 0.004
196
+ ],
197
+ "hold_open_angle": 0.7285879850387573,
198
+ "open_more_delta": 0.12,
199
+ "reference_tray_height": 1.0472617149353027,
200
+ "mask_handle_ids": [
201
+ 163
202
+ ]
203
+ },
204
+ "template_episode": "episode0",
205
+ "template_frames": {
206
+ "pregrasp": 229,
207
+ "grasp": 234,
208
+ "right_close": 91,
209
+ "right_open": 130,
210
+ "approach": [
211
+ 177,
212
+ 187,
213
+ 197,
214
+ 208,
215
+ 218,
216
+ 229,
217
+ 232
218
+ ],
219
+ "retreat": [
220
+ 239,
221
+ 244,
222
+ 249,
223
+ 254,
224
+ 264,
225
+ 274,
226
+ 284,
227
+ 295,
228
+ 305,
229
+ 310,
230
+ 315
231
+ ]
232
+ },
233
+ "episode_offset": 2
234
+ }
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_02/worker.log ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ WARNING:root:not sure how _robot_shapes are used is used.
2
+ WARNING:root:Waypoints are not reachable right=(False, 'waypoint0 - DualPanda') left=(True, '')
3
+ ERROR:root:Error when checking waypoints. Exception is: Error in task bimanual_take_tray_out_of_oven. Infeasible episode. Can't reach waypoint ((False, 'waypoint0 - DualPanda'), (True, '')).
4
+ WARNING: QApplication was not created in the main() thread.
5
+ WARNING:root:not sure how _robot_shapes are used is used.
6
+ ERROR:root:robot is in collision
7
+ ERROR:root:Error when checking waypoints. Exception is:
8
+ [episode2] analyzed 25/325 dense frames
9
+ [episode2] analyzed 50/325 dense frames
10
+ [episode2] analyzed 75/325 dense frames
11
+ [episode2] analyzed 100/325 dense frames
12
+ The X11 connection broke (error 1). Did the X11 server die?
13
+ [CoppeliaSim:loadinfo] done.
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_02/xvfb.log ADDED
File without changes
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_03/templates.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "templates": {
3
+ "approach_rel_poses": [
4
+ [
5
+ -0.3625197505146321,
6
+ 0.08372429131714548,
7
+ 0.13691903626392898,
8
+ 0.6416348447407467,
9
+ 0.6410872565393582,
10
+ 0.29868034011062794,
11
+ 0.2968196589661076
12
+ ],
13
+ [
14
+ -0.32979445983162176,
15
+ 0.08659364792515764,
16
+ 0.12045077578809749,
17
+ 0.6287469690798895,
18
+ 0.6287301318727057,
19
+ 0.3243430018231259,
20
+ 0.32276506520462594
21
+ ],
22
+ [
23
+ -0.2910925493361141,
24
+ 0.08985276158129711,
25
+ 0.10101096601604831,
26
+ 0.6124184244028302,
27
+ 0.6122709767290938,
28
+ 0.35430518709849695,
29
+ 0.35289624381998647
30
+ ],
31
+ [
32
+ -0.244818538450706,
33
+ 0.09371070170750202,
34
+ 0.07770067425331129,
35
+ 0.5909841767637374,
36
+ 0.5908549510320831,
37
+ 0.3889344056030255,
38
+ 0.38776043866540033
39
+ ],
40
+ [
41
+ -0.19036243621330934,
42
+ 0.09824358579289771,
43
+ 0.04990667629200307,
44
+ 0.5635900638946065,
45
+ 0.5631538374566398,
46
+ 0.4277702591171187,
47
+ 0.4268917903310006
48
+ ],
49
+ [
50
+ -0.12217129631756263,
51
+ 0.09345070134195246,
52
+ -0.006546997831216039,
53
+ 0.5503450945485194,
54
+ 0.5264249147312487,
55
+ 0.4450459711257041,
56
+ 0.47109571176286236
57
+ ],
58
+ [
59
+ -0.11087643306877748,
60
+ 0.09014108451750254,
61
+ -0.031580235354697894,
62
+ 0.5622041544757288,
63
+ 0.5226343775452266,
64
+ 0.43323659021636735,
65
+ 0.472319651291199
66
+ ]
67
+ ],
68
+ "pregrasp_rel_pose": [
69
+ -0.12217129631756263,
70
+ 0.09345070134195246,
71
+ -0.006546997831216039,
72
+ 0.5503450945485194,
73
+ 0.5264249147312487,
74
+ 0.4450459711257041,
75
+ 0.47109571176286236
76
+ ],
77
+ "grasp_rel_pose": [
78
+ -0.09865615619553114,
79
+ 0.09471180553609355,
80
+ -0.023587008474192483,
81
+ 0.5452601219922814,
82
+ 0.5150377871073674,
83
+ 0.45379910210390734,
84
+ 0.48113808012481835
85
+ ],
86
+ "retreat_rel_poses": [
87
+ [
88
+ 0.2548525929450989,
89
+ 0.23748670518398285,
90
+ 0.292730450630188,
91
+ 0.3300291728725241,
92
+ 0.627796734434498,
93
+ 0.6244628081014154,
94
+ 0.3271058033489361
95
+ ],
96
+ [
97
+ 0.22123366594314575,
98
+ 0.20692090690135956,
99
+ 0.3001290559768677,
100
+ 0.3293369490711715,
101
+ 0.6272174893562581,
102
+ 0.6253236114995244,
103
+ 0.3272701879538016
104
+ ],
105
+ [
106
+ 0.17805954813957214,
107
+ 0.16776257753372192,
108
+ 0.3092261552810669,
109
+ 0.3292203946981642,
110
+ 0.627092205167199,
111
+ 0.6254558193462786,
112
+ 0.3273748859934127
113
+ ],
114
+ [
115
+ 0.132161945104599,
116
+ 0.1261904537677765,
117
+ 0.31862151622772217,
118
+ 0.32922833561062037,
119
+ 0.6270130163004302,
120
+ 0.6255370861132601,
121
+ 0.32736330630941085
122
+ ],
123
+ [
124
+ 0.05666536092758179,
125
+ 0.058310166001319885,
126
+ 0.33417391777038574,
127
+ 0.3290531759368521,
128
+ 0.6267400620289424,
129
+ 0.6259557840834131,
130
+ 0.3272617582705744
131
+ ],
132
+ [
133
+ 0.0558415949344635,
134
+ 0.05751470848917961,
135
+ 0.3844491243362427,
136
+ 0.32944931283048395,
137
+ 0.6271554580797323,
138
+ 0.6255767695203596,
139
+ 0.3267918100454689
140
+ ],
141
+ [
142
+ 0.05576580762863159,
143
+ 0.053012214601039886,
144
+ 0.5137358903884888,
145
+ 0.3352571906446373,
146
+ 0.6275228042160846,
147
+ 0.6205178281888475,
148
+ 0.329811114442256
149
+ ],
150
+ [
151
+ 0.05594903230667114,
152
+ 0.05725332349538803,
153
+ 0.6016567945480347,
154
+ 0.3290406683903203,
155
+ 0.6269357648722236,
156
+ 0.625839814295268,
157
+ 0.3271212498634039
158
+ ],
159
+ [
160
+ 0.11017268896102905,
161
+ 0.09445947408676147,
162
+ 0.6008111238479614,
163
+ 0.3295905054305836,
164
+ 0.6274618621218736,
165
+ 0.6252874250360436,
166
+ 0.3266149819043174
167
+ ],
168
+ [
169
+ 0.1597837209701538,
170
+ 0.1288578361272812,
171
+ 0.6011183261871338,
172
+ 0.3293548308249215,
173
+ 0.627458650421648,
174
+ 0.6253267712318655,
175
+ 0.32678351642036935
176
+ ],
177
+ [
178
+ 0.19115081429481506,
179
+ 0.15017743408679962,
180
+ 0.6012866497039795,
181
+ 0.3296702831570499,
182
+ 0.6273651178974856,
183
+ 0.6251746471824625,
184
+ 0.3269360392628933
185
+ ]
186
+ ],
187
+ "grasp_local_center": [
188
+ -0.09865615619553109,
189
+ 0.09471180553609354,
190
+ -0.02358700847419226
191
+ ],
192
+ "grasp_region_extents": [
193
+ 0.03,
194
+ 0.015,
195
+ 0.004
196
+ ],
197
+ "hold_open_angle": 0.7285879850387573,
198
+ "open_more_delta": 0.12,
199
+ "reference_tray_height": 1.0472617149353027,
200
+ "mask_handle_ids": [
201
+ 163
202
+ ]
203
+ },
204
+ "template_episode": "episode0",
205
+ "template_frames": {
206
+ "pregrasp": 229,
207
+ "grasp": 234,
208
+ "right_close": 91,
209
+ "right_open": 130,
210
+ "approach": [
211
+ 177,
212
+ 187,
213
+ 197,
214
+ 208,
215
+ 218,
216
+ 229,
217
+ 232
218
+ ],
219
+ "retreat": [
220
+ 239,
221
+ 244,
222
+ 249,
223
+ 254,
224
+ 264,
225
+ 274,
226
+ 284,
227
+ 295,
228
+ 305,
229
+ 310,
230
+ 315
231
+ ]
232
+ },
233
+ "episode_offset": 3
234
+ }
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_03/worker.log ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ WARNING:root:not sure how _robot_shapes are used is used.
2
+ WARNING:root:Waypoints are not reachable right=(False, 'waypoint0 - DualPanda') left=(True, '')
3
+ ERROR:root:Error when checking waypoints. Exception is: Error in task bimanual_take_tray_out_of_oven. Infeasible episode. Can't reach waypoint ((False, 'waypoint0 - DualPanda'), (True, '')).
4
+ WARNING: QApplication was not created in the main() thread.
5
+ WARNING:root:not sure how _robot_shapes are used is used.
6
+ [episode3] analyzed 25/286 dense frames
7
+ The X11 connection broke (error 1). Did the X11 server die?
8
+ [CoppeliaSim:loadinfo] done.
artifacts/results/iter6_parallel_smoke_4ep_independent/worker_03/xvfb.log ADDED
File without changes
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_00/templates.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "templates": {
3
+ "approach_rel_poses": [
4
+ [
5
+ -0.3625197505146321,
6
+ 0.08372429131714548,
7
+ 0.13691903626392898,
8
+ 0.6416348447407467,
9
+ 0.6410872565393582,
10
+ 0.29868034011062794,
11
+ 0.2968196589661076
12
+ ],
13
+ [
14
+ -0.32979445983162176,
15
+ 0.08659364792515764,
16
+ 0.12045077578809749,
17
+ 0.6287469690798895,
18
+ 0.6287301318727057,
19
+ 0.3243430018231259,
20
+ 0.32276506520462594
21
+ ],
22
+ [
23
+ -0.2910925493361141,
24
+ 0.08985276158129711,
25
+ 0.10101096601604831,
26
+ 0.6124184244028302,
27
+ 0.6122709767290938,
28
+ 0.35430518709849695,
29
+ 0.35289624381998647
30
+ ],
31
+ [
32
+ -0.244818538450706,
33
+ 0.09371070170750202,
34
+ 0.07770067425331129,
35
+ 0.5909841767637374,
36
+ 0.5908549510320831,
37
+ 0.3889344056030255,
38
+ 0.38776043866540033
39
+ ],
40
+ [
41
+ -0.19036243621330934,
42
+ 0.09824358579289771,
43
+ 0.04990667629200307,
44
+ 0.5635900638946065,
45
+ 0.5631538374566398,
46
+ 0.4277702591171187,
47
+ 0.4268917903310006
48
+ ],
49
+ [
50
+ -0.12217129631756263,
51
+ 0.09345070134195246,
52
+ -0.006546997831216039,
53
+ 0.5503450945485194,
54
+ 0.5264249147312487,
55
+ 0.4450459711257041,
56
+ 0.47109571176286236
57
+ ],
58
+ [
59
+ -0.11087643306877748,
60
+ 0.09014108451750254,
61
+ -0.031580235354697894,
62
+ 0.5622041544757288,
63
+ 0.5226343775452266,
64
+ 0.43323659021636735,
65
+ 0.472319651291199
66
+ ]
67
+ ],
68
+ "pregrasp_rel_pose": [
69
+ -0.12217129631756263,
70
+ 0.09345070134195246,
71
+ -0.006546997831216039,
72
+ 0.5503450945485194,
73
+ 0.5264249147312487,
74
+ 0.4450459711257041,
75
+ 0.47109571176286236
76
+ ],
77
+ "grasp_rel_pose": [
78
+ -0.09865615619553114,
79
+ 0.09471180553609355,
80
+ -0.023587008474192483,
81
+ 0.5452601219922814,
82
+ 0.5150377871073674,
83
+ 0.45379910210390734,
84
+ 0.48113808012481835
85
+ ],
86
+ "retreat_rel_poses": [
87
+ [
88
+ 0.2548525929450989,
89
+ 0.23748670518398285,
90
+ 0.292730450630188,
91
+ 0.3300291728725241,
92
+ 0.627796734434498,
93
+ 0.6244628081014154,
94
+ 0.3271058033489361
95
+ ],
96
+ [
97
+ 0.22123366594314575,
98
+ 0.20692090690135956,
99
+ 0.3001290559768677,
100
+ 0.3293369490711715,
101
+ 0.6272174893562581,
102
+ 0.6253236114995244,
103
+ 0.3272701879538016
104
+ ],
105
+ [
106
+ 0.17805954813957214,
107
+ 0.16776257753372192,
108
+ 0.3092261552810669,
109
+ 0.3292203946981642,
110
+ 0.627092205167199,
111
+ 0.6254558193462786,
112
+ 0.3273748859934127
113
+ ],
114
+ [
115
+ 0.132161945104599,
116
+ 0.1261904537677765,
117
+ 0.31862151622772217,
118
+ 0.32922833561062037,
119
+ 0.6270130163004302,
120
+ 0.6255370861132601,
121
+ 0.32736330630941085
122
+ ],
123
+ [
124
+ 0.05666536092758179,
125
+ 0.058310166001319885,
126
+ 0.33417391777038574,
127
+ 0.3290531759368521,
128
+ 0.6267400620289424,
129
+ 0.6259557840834131,
130
+ 0.3272617582705744
131
+ ],
132
+ [
133
+ 0.0558415949344635,
134
+ 0.05751470848917961,
135
+ 0.3844491243362427,
136
+ 0.32944931283048395,
137
+ 0.6271554580797323,
138
+ 0.6255767695203596,
139
+ 0.3267918100454689
140
+ ],
141
+ [
142
+ 0.05576580762863159,
143
+ 0.053012214601039886,
144
+ 0.5137358903884888,
145
+ 0.3352571906446373,
146
+ 0.6275228042160846,
147
+ 0.6205178281888475,
148
+ 0.329811114442256
149
+ ],
150
+ [
151
+ 0.05594903230667114,
152
+ 0.05725332349538803,
153
+ 0.6016567945480347,
154
+ 0.3290406683903203,
155
+ 0.6269357648722236,
156
+ 0.625839814295268,
157
+ 0.3271212498634039
158
+ ],
159
+ [
160
+ 0.11017268896102905,
161
+ 0.09445947408676147,
162
+ 0.6008111238479614,
163
+ 0.3295905054305836,
164
+ 0.6274618621218736,
165
+ 0.6252874250360436,
166
+ 0.3266149819043174
167
+ ],
168
+ [
169
+ 0.1597837209701538,
170
+ 0.1288578361272812,
171
+ 0.6011183261871338,
172
+ 0.3293548308249215,
173
+ 0.627458650421648,
174
+ 0.6253267712318655,
175
+ 0.32678351642036935
176
+ ],
177
+ [
178
+ 0.19115081429481506,
179
+ 0.15017743408679962,
180
+ 0.6012866497039795,
181
+ 0.3296702831570499,
182
+ 0.6273651178974856,
183
+ 0.6251746471824625,
184
+ 0.3269360392628933
185
+ ]
186
+ ],
187
+ "grasp_local_center": [
188
+ -0.09865615619553109,
189
+ 0.09471180553609354,
190
+ -0.02358700847419226
191
+ ],
192
+ "grasp_region_extents": [
193
+ 0.03,
194
+ 0.015,
195
+ 0.004
196
+ ],
197
+ "hold_open_angle": 0.7285879850387573,
198
+ "open_more_delta": 0.12,
199
+ "reference_tray_height": 1.0472617149353027,
200
+ "mask_handle_ids": [
201
+ 163
202
+ ]
203
+ },
204
+ "template_episode": "episode0",
205
+ "template_frames": {
206
+ "pregrasp": 229,
207
+ "grasp": 234,
208
+ "right_close": 91,
209
+ "right_open": 130,
210
+ "approach": [
211
+ 177,
212
+ 187,
213
+ 197,
214
+ 208,
215
+ 218,
216
+ 229,
217
+ 232
218
+ ],
219
+ "retreat": [
220
+ 239,
221
+ 244,
222
+ 249,
223
+ 254,
224
+ 264,
225
+ 274,
226
+ 284,
227
+ 295,
228
+ 305,
229
+ 310,
230
+ 315
231
+ ]
232
+ },
233
+ "episode_offset": 0
234
+ }
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_00/worker.log ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ WARNING:root:not sure how _robot_shapes are used is used.
2
+ WARNING:root:Waypoints are not reachable right=(False, 'waypoint0 - DualPanda') left=(True, '')
3
+ ERROR:root:Error when checking waypoints. Exception is: Error in task bimanual_take_tray_out_of_oven. Infeasible episode. Can't reach waypoint ((False, 'waypoint0 - DualPanda'), (True, '')).
4
+ WARNING: QApplication was not created in the main() thread.
5
+ WARNING:root:not sure how _robot_shapes are used is used.
6
+ WARNING:root:Waypoints are not reachable right=(False, 'waypoint0 - DualPanda') left=(True, '')
7
+ ERROR:root:Error when checking waypoints. Exception is: Error in task bimanual_take_tray_out_of_oven. Infeasible episode. Can't reach waypoint ((False, 'waypoint0 - DualPanda'), (True, '')).
8
+ [episode0] analyzed 25/329 dense frames
9
+ [episode0] analyzed 50/329 dense frames
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_00/xvfb.log ADDED
File without changes
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_01/templates.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "templates": {
3
+ "approach_rel_poses": [
4
+ [
5
+ -0.3625197505146321,
6
+ 0.08372429131714548,
7
+ 0.13691903626392898,
8
+ 0.6416348447407467,
9
+ 0.6410872565393582,
10
+ 0.29868034011062794,
11
+ 0.2968196589661076
12
+ ],
13
+ [
14
+ -0.32979445983162176,
15
+ 0.08659364792515764,
16
+ 0.12045077578809749,
17
+ 0.6287469690798895,
18
+ 0.6287301318727057,
19
+ 0.3243430018231259,
20
+ 0.32276506520462594
21
+ ],
22
+ [
23
+ -0.2910925493361141,
24
+ 0.08985276158129711,
25
+ 0.10101096601604831,
26
+ 0.6124184244028302,
27
+ 0.6122709767290938,
28
+ 0.35430518709849695,
29
+ 0.35289624381998647
30
+ ],
31
+ [
32
+ -0.244818538450706,
33
+ 0.09371070170750202,
34
+ 0.07770067425331129,
35
+ 0.5909841767637374,
36
+ 0.5908549510320831,
37
+ 0.3889344056030255,
38
+ 0.38776043866540033
39
+ ],
40
+ [
41
+ -0.19036243621330934,
42
+ 0.09824358579289771,
43
+ 0.04990667629200307,
44
+ 0.5635900638946065,
45
+ 0.5631538374566398,
46
+ 0.4277702591171187,
47
+ 0.4268917903310006
48
+ ],
49
+ [
50
+ -0.12217129631756263,
51
+ 0.09345070134195246,
52
+ -0.006546997831216039,
53
+ 0.5503450945485194,
54
+ 0.5264249147312487,
55
+ 0.4450459711257041,
56
+ 0.47109571176286236
57
+ ],
58
+ [
59
+ -0.11087643306877748,
60
+ 0.09014108451750254,
61
+ -0.031580235354697894,
62
+ 0.5622041544757288,
63
+ 0.5226343775452266,
64
+ 0.43323659021636735,
65
+ 0.472319651291199
66
+ ]
67
+ ],
68
+ "pregrasp_rel_pose": [
69
+ -0.12217129631756263,
70
+ 0.09345070134195246,
71
+ -0.006546997831216039,
72
+ 0.5503450945485194,
73
+ 0.5264249147312487,
74
+ 0.4450459711257041,
75
+ 0.47109571176286236
76
+ ],
77
+ "grasp_rel_pose": [
78
+ -0.09865615619553114,
79
+ 0.09471180553609355,
80
+ -0.023587008474192483,
81
+ 0.5452601219922814,
82
+ 0.5150377871073674,
83
+ 0.45379910210390734,
84
+ 0.48113808012481835
85
+ ],
86
+ "retreat_rel_poses": [
87
+ [
88
+ 0.2548525929450989,
89
+ 0.23748670518398285,
90
+ 0.292730450630188,
91
+ 0.3300291728725241,
92
+ 0.627796734434498,
93
+ 0.6244628081014154,
94
+ 0.3271058033489361
95
+ ],
96
+ [
97
+ 0.22123366594314575,
98
+ 0.20692090690135956,
99
+ 0.3001290559768677,
100
+ 0.3293369490711715,
101
+ 0.6272174893562581,
102
+ 0.6253236114995244,
103
+ 0.3272701879538016
104
+ ],
105
+ [
106
+ 0.17805954813957214,
107
+ 0.16776257753372192,
108
+ 0.3092261552810669,
109
+ 0.3292203946981642,
110
+ 0.627092205167199,
111
+ 0.6254558193462786,
112
+ 0.3273748859934127
113
+ ],
114
+ [
115
+ 0.132161945104599,
116
+ 0.1261904537677765,
117
+ 0.31862151622772217,
118
+ 0.32922833561062037,
119
+ 0.6270130163004302,
120
+ 0.6255370861132601,
121
+ 0.32736330630941085
122
+ ],
123
+ [
124
+ 0.05666536092758179,
125
+ 0.058310166001319885,
126
+ 0.33417391777038574,
127
+ 0.3290531759368521,
128
+ 0.6267400620289424,
129
+ 0.6259557840834131,
130
+ 0.3272617582705744
131
+ ],
132
+ [
133
+ 0.0558415949344635,
134
+ 0.05751470848917961,
135
+ 0.3844491243362427,
136
+ 0.32944931283048395,
137
+ 0.6271554580797323,
138
+ 0.6255767695203596,
139
+ 0.3267918100454689
140
+ ],
141
+ [
142
+ 0.05576580762863159,
143
+ 0.053012214601039886,
144
+ 0.5137358903884888,
145
+ 0.3352571906446373,
146
+ 0.6275228042160846,
147
+ 0.6205178281888475,
148
+ 0.329811114442256
149
+ ],
150
+ [
151
+ 0.05594903230667114,
152
+ 0.05725332349538803,
153
+ 0.6016567945480347,
154
+ 0.3290406683903203,
155
+ 0.6269357648722236,
156
+ 0.625839814295268,
157
+ 0.3271212498634039
158
+ ],
159
+ [
160
+ 0.11017268896102905,
161
+ 0.09445947408676147,
162
+ 0.6008111238479614,
163
+ 0.3295905054305836,
164
+ 0.6274618621218736,
165
+ 0.6252874250360436,
166
+ 0.3266149819043174
167
+ ],
168
+ [
169
+ 0.1597837209701538,
170
+ 0.1288578361272812,
171
+ 0.6011183261871338,
172
+ 0.3293548308249215,
173
+ 0.627458650421648,
174
+ 0.6253267712318655,
175
+ 0.32678351642036935
176
+ ],
177
+ [
178
+ 0.19115081429481506,
179
+ 0.15017743408679962,
180
+ 0.6012866497039795,
181
+ 0.3296702831570499,
182
+ 0.6273651178974856,
183
+ 0.6251746471824625,
184
+ 0.3269360392628933
185
+ ]
186
+ ],
187
+ "grasp_local_center": [
188
+ -0.09865615619553109,
189
+ 0.09471180553609354,
190
+ -0.02358700847419226
191
+ ],
192
+ "grasp_region_extents": [
193
+ 0.03,
194
+ 0.015,
195
+ 0.004
196
+ ],
197
+ "hold_open_angle": 0.7285879850387573,
198
+ "open_more_delta": 0.12,
199
+ "reference_tray_height": 1.0472617149353027,
200
+ "mask_handle_ids": [
201
+ 163
202
+ ]
203
+ },
204
+ "template_episode": "episode0",
205
+ "template_frames": {
206
+ "pregrasp": 229,
207
+ "grasp": 234,
208
+ "right_close": 91,
209
+ "right_open": 130,
210
+ "approach": [
211
+ 177,
212
+ 187,
213
+ 197,
214
+ 208,
215
+ 218,
216
+ 229,
217
+ 232
218
+ ],
219
+ "retreat": [
220
+ 239,
221
+ 244,
222
+ 249,
223
+ 254,
224
+ 264,
225
+ 274,
226
+ 284,
227
+ 295,
228
+ 305,
229
+ 310,
230
+ 315
231
+ ]
232
+ },
233
+ "episode_offset": 1
234
+ }
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_01/worker.log ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ WARNING:root:not sure how _robot_shapes are used is used.
2
+ WARNING:root:Waypoints are not reachable right=(False, 'waypoint0 - DualPanda') left=(True, '')
3
+ ERROR:root:Error when checking waypoints. Exception is: Error in task bimanual_take_tray_out_of_oven. Infeasible episode. Can't reach waypoint ((False, 'waypoint0 - DualPanda'), (True, '')).
4
+ WARNING: QApplication was not created in the main() thread.
5
+ WARNING:root:not sure how _robot_shapes are used is used.
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_01/xvfb.log ADDED
File without changes
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_02/templates.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "templates": {
3
+ "approach_rel_poses": [
4
+ [
5
+ -0.3625197505146321,
6
+ 0.08372429131714548,
7
+ 0.13691903626392898,
8
+ 0.6416348447407467,
9
+ 0.6410872565393582,
10
+ 0.29868034011062794,
11
+ 0.2968196589661076
12
+ ],
13
+ [
14
+ -0.32979445983162176,
15
+ 0.08659364792515764,
16
+ 0.12045077578809749,
17
+ 0.6287469690798895,
18
+ 0.6287301318727057,
19
+ 0.3243430018231259,
20
+ 0.32276506520462594
21
+ ],
22
+ [
23
+ -0.2910925493361141,
24
+ 0.08985276158129711,
25
+ 0.10101096601604831,
26
+ 0.6124184244028302,
27
+ 0.6122709767290938,
28
+ 0.35430518709849695,
29
+ 0.35289624381998647
30
+ ],
31
+ [
32
+ -0.244818538450706,
33
+ 0.09371070170750202,
34
+ 0.07770067425331129,
35
+ 0.5909841767637374,
36
+ 0.5908549510320831,
37
+ 0.3889344056030255,
38
+ 0.38776043866540033
39
+ ],
40
+ [
41
+ -0.19036243621330934,
42
+ 0.09824358579289771,
43
+ 0.04990667629200307,
44
+ 0.5635900638946065,
45
+ 0.5631538374566398,
46
+ 0.4277702591171187,
47
+ 0.4268917903310006
48
+ ],
49
+ [
50
+ -0.12217129631756263,
51
+ 0.09345070134195246,
52
+ -0.006546997831216039,
53
+ 0.5503450945485194,
54
+ 0.5264249147312487,
55
+ 0.4450459711257041,
56
+ 0.47109571176286236
57
+ ],
58
+ [
59
+ -0.11087643306877748,
60
+ 0.09014108451750254,
61
+ -0.031580235354697894,
62
+ 0.5622041544757288,
63
+ 0.5226343775452266,
64
+ 0.43323659021636735,
65
+ 0.472319651291199
66
+ ]
67
+ ],
68
+ "pregrasp_rel_pose": [
69
+ -0.12217129631756263,
70
+ 0.09345070134195246,
71
+ -0.006546997831216039,
72
+ 0.5503450945485194,
73
+ 0.5264249147312487,
74
+ 0.4450459711257041,
75
+ 0.47109571176286236
76
+ ],
77
+ "grasp_rel_pose": [
78
+ -0.09865615619553114,
79
+ 0.09471180553609355,
80
+ -0.023587008474192483,
81
+ 0.5452601219922814,
82
+ 0.5150377871073674,
83
+ 0.45379910210390734,
84
+ 0.48113808012481835
85
+ ],
86
+ "retreat_rel_poses": [
87
+ [
88
+ 0.2548525929450989,
89
+ 0.23748670518398285,
90
+ 0.292730450630188,
91
+ 0.3300291728725241,
92
+ 0.627796734434498,
93
+ 0.6244628081014154,
94
+ 0.3271058033489361
95
+ ],
96
+ [
97
+ 0.22123366594314575,
98
+ 0.20692090690135956,
99
+ 0.3001290559768677,
100
+ 0.3293369490711715,
101
+ 0.6272174893562581,
102
+ 0.6253236114995244,
103
+ 0.3272701879538016
104
+ ],
105
+ [
106
+ 0.17805954813957214,
107
+ 0.16776257753372192,
108
+ 0.3092261552810669,
109
+ 0.3292203946981642,
110
+ 0.627092205167199,
111
+ 0.6254558193462786,
112
+ 0.3273748859934127
113
+ ],
114
+ [
115
+ 0.132161945104599,
116
+ 0.1261904537677765,
117
+ 0.31862151622772217,
118
+ 0.32922833561062037,
119
+ 0.6270130163004302,
120
+ 0.6255370861132601,
121
+ 0.32736330630941085
122
+ ],
123
+ [
124
+ 0.05666536092758179,
125
+ 0.058310166001319885,
126
+ 0.33417391777038574,
127
+ 0.3290531759368521,
128
+ 0.6267400620289424,
129
+ 0.6259557840834131,
130
+ 0.3272617582705744
131
+ ],
132
+ [
133
+ 0.0558415949344635,
134
+ 0.05751470848917961,
135
+ 0.3844491243362427,
136
+ 0.32944931283048395,
137
+ 0.6271554580797323,
138
+ 0.6255767695203596,
139
+ 0.3267918100454689
140
+ ],
141
+ [
142
+ 0.05576580762863159,
143
+ 0.053012214601039886,
144
+ 0.5137358903884888,
145
+ 0.3352571906446373,
146
+ 0.6275228042160846,
147
+ 0.6205178281888475,
148
+ 0.329811114442256
149
+ ],
150
+ [
151
+ 0.05594903230667114,
152
+ 0.05725332349538803,
153
+ 0.6016567945480347,
154
+ 0.3290406683903203,
155
+ 0.6269357648722236,
156
+ 0.625839814295268,
157
+ 0.3271212498634039
158
+ ],
159
+ [
160
+ 0.11017268896102905,
161
+ 0.09445947408676147,
162
+ 0.6008111238479614,
163
+ 0.3295905054305836,
164
+ 0.6274618621218736,
165
+ 0.6252874250360436,
166
+ 0.3266149819043174
167
+ ],
168
+ [
169
+ 0.1597837209701538,
170
+ 0.1288578361272812,
171
+ 0.6011183261871338,
172
+ 0.3293548308249215,
173
+ 0.627458650421648,
174
+ 0.6253267712318655,
175
+ 0.32678351642036935
176
+ ],
177
+ [
178
+ 0.19115081429481506,
179
+ 0.15017743408679962,
180
+ 0.6012866497039795,
181
+ 0.3296702831570499,
182
+ 0.6273651178974856,
183
+ 0.6251746471824625,
184
+ 0.3269360392628933
185
+ ]
186
+ ],
187
+ "grasp_local_center": [
188
+ -0.09865615619553109,
189
+ 0.09471180553609354,
190
+ -0.02358700847419226
191
+ ],
192
+ "grasp_region_extents": [
193
+ 0.03,
194
+ 0.015,
195
+ 0.004
196
+ ],
197
+ "hold_open_angle": 0.7285879850387573,
198
+ "open_more_delta": 0.12,
199
+ "reference_tray_height": 1.0472617149353027,
200
+ "mask_handle_ids": [
201
+ 163
202
+ ]
203
+ },
204
+ "template_episode": "episode0",
205
+ "template_frames": {
206
+ "pregrasp": 229,
207
+ "grasp": 234,
208
+ "right_close": 91,
209
+ "right_open": 130,
210
+ "approach": [
211
+ 177,
212
+ 187,
213
+ 197,
214
+ 208,
215
+ 218,
216
+ 229,
217
+ 232
218
+ ],
219
+ "retreat": [
220
+ 239,
221
+ 244,
222
+ 249,
223
+ 254,
224
+ 264,
225
+ 274,
226
+ 284,
227
+ 295,
228
+ 305,
229
+ 310,
230
+ 315
231
+ ]
232
+ },
233
+ "episode_offset": 2
234
+ }
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_02/worker.log ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ WARNING:root:not sure how _robot_shapes are used is used.
2
+ WARNING:root:Waypoints are not reachable right=(False, 'waypoint0 - DualPanda') left=(True, '')
3
+ ERROR:root:Error when checking waypoints. Exception is: Error in task bimanual_take_tray_out_of_oven. Infeasible episode. Can't reach waypoint ((False, 'waypoint0 - DualPanda'), (True, '')).
4
+ WARNING: QApplication was not created in the main() thread.
5
+ WARNING:root:not sure how _robot_shapes are used is used.
6
+ ERROR:root:robot is in collision
7
+ ERROR:root:Error when checking waypoints. Exception is:
8
+ [episode2] analyzed 25/325 dense frames
9
+ [episode2] analyzed 50/325 dense frames
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_02/xvfb.log ADDED
File without changes
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_03/templates.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "templates": {
3
+ "approach_rel_poses": [
4
+ [
5
+ -0.3625197505146321,
6
+ 0.08372429131714548,
7
+ 0.13691903626392898,
8
+ 0.6416348447407467,
9
+ 0.6410872565393582,
10
+ 0.29868034011062794,
11
+ 0.2968196589661076
12
+ ],
13
+ [
14
+ -0.32979445983162176,
15
+ 0.08659364792515764,
16
+ 0.12045077578809749,
17
+ 0.6287469690798895,
18
+ 0.6287301318727057,
19
+ 0.3243430018231259,
20
+ 0.32276506520462594
21
+ ],
22
+ [
23
+ -0.2910925493361141,
24
+ 0.08985276158129711,
25
+ 0.10101096601604831,
26
+ 0.6124184244028302,
27
+ 0.6122709767290938,
28
+ 0.35430518709849695,
29
+ 0.35289624381998647
30
+ ],
31
+ [
32
+ -0.244818538450706,
33
+ 0.09371070170750202,
34
+ 0.07770067425331129,
35
+ 0.5909841767637374,
36
+ 0.5908549510320831,
37
+ 0.3889344056030255,
38
+ 0.38776043866540033
39
+ ],
40
+ [
41
+ -0.19036243621330934,
42
+ 0.09824358579289771,
43
+ 0.04990667629200307,
44
+ 0.5635900638946065,
45
+ 0.5631538374566398,
46
+ 0.4277702591171187,
47
+ 0.4268917903310006
48
+ ],
49
+ [
50
+ -0.12217129631756263,
51
+ 0.09345070134195246,
52
+ -0.006546997831216039,
53
+ 0.5503450945485194,
54
+ 0.5264249147312487,
55
+ 0.4450459711257041,
56
+ 0.47109571176286236
57
+ ],
58
+ [
59
+ -0.11087643306877748,
60
+ 0.09014108451750254,
61
+ -0.031580235354697894,
62
+ 0.5622041544757288,
63
+ 0.5226343775452266,
64
+ 0.43323659021636735,
65
+ 0.472319651291199
66
+ ]
67
+ ],
68
+ "pregrasp_rel_pose": [
69
+ -0.12217129631756263,
70
+ 0.09345070134195246,
71
+ -0.006546997831216039,
72
+ 0.5503450945485194,
73
+ 0.5264249147312487,
74
+ 0.4450459711257041,
75
+ 0.47109571176286236
76
+ ],
77
+ "grasp_rel_pose": [
78
+ -0.09865615619553114,
79
+ 0.09471180553609355,
80
+ -0.023587008474192483,
81
+ 0.5452601219922814,
82
+ 0.5150377871073674,
83
+ 0.45379910210390734,
84
+ 0.48113808012481835
85
+ ],
86
+ "retreat_rel_poses": [
87
+ [
88
+ 0.2548525929450989,
89
+ 0.23748670518398285,
90
+ 0.292730450630188,
91
+ 0.3300291728725241,
92
+ 0.627796734434498,
93
+ 0.6244628081014154,
94
+ 0.3271058033489361
95
+ ],
96
+ [
97
+ 0.22123366594314575,
98
+ 0.20692090690135956,
99
+ 0.3001290559768677,
100
+ 0.3293369490711715,
101
+ 0.6272174893562581,
102
+ 0.6253236114995244,
103
+ 0.3272701879538016
104
+ ],
105
+ [
106
+ 0.17805954813957214,
107
+ 0.16776257753372192,
108
+ 0.3092261552810669,
109
+ 0.3292203946981642,
110
+ 0.627092205167199,
111
+ 0.6254558193462786,
112
+ 0.3273748859934127
113
+ ],
114
+ [
115
+ 0.132161945104599,
116
+ 0.1261904537677765,
117
+ 0.31862151622772217,
118
+ 0.32922833561062037,
119
+ 0.6270130163004302,
120
+ 0.6255370861132601,
121
+ 0.32736330630941085
122
+ ],
123
+ [
124
+ 0.05666536092758179,
125
+ 0.058310166001319885,
126
+ 0.33417391777038574,
127
+ 0.3290531759368521,
128
+ 0.6267400620289424,
129
+ 0.6259557840834131,
130
+ 0.3272617582705744
131
+ ],
132
+ [
133
+ 0.0558415949344635,
134
+ 0.05751470848917961,
135
+ 0.3844491243362427,
136
+ 0.32944931283048395,
137
+ 0.6271554580797323,
138
+ 0.6255767695203596,
139
+ 0.3267918100454689
140
+ ],
141
+ [
142
+ 0.05576580762863159,
143
+ 0.053012214601039886,
144
+ 0.5137358903884888,
145
+ 0.3352571906446373,
146
+ 0.6275228042160846,
147
+ 0.6205178281888475,
148
+ 0.329811114442256
149
+ ],
150
+ [
151
+ 0.05594903230667114,
152
+ 0.05725332349538803,
153
+ 0.6016567945480347,
154
+ 0.3290406683903203,
155
+ 0.6269357648722236,
156
+ 0.625839814295268,
157
+ 0.3271212498634039
158
+ ],
159
+ [
160
+ 0.11017268896102905,
161
+ 0.09445947408676147,
162
+ 0.6008111238479614,
163
+ 0.3295905054305836,
164
+ 0.6274618621218736,
165
+ 0.6252874250360436,
166
+ 0.3266149819043174
167
+ ],
168
+ [
169
+ 0.1597837209701538,
170
+ 0.1288578361272812,
171
+ 0.6011183261871338,
172
+ 0.3293548308249215,
173
+ 0.627458650421648,
174
+ 0.6253267712318655,
175
+ 0.32678351642036935
176
+ ],
177
+ [
178
+ 0.19115081429481506,
179
+ 0.15017743408679962,
180
+ 0.6012866497039795,
181
+ 0.3296702831570499,
182
+ 0.6273651178974856,
183
+ 0.6251746471824625,
184
+ 0.3269360392628933
185
+ ]
186
+ ],
187
+ "grasp_local_center": [
188
+ -0.09865615619553109,
189
+ 0.09471180553609354,
190
+ -0.02358700847419226
191
+ ],
192
+ "grasp_region_extents": [
193
+ 0.03,
194
+ 0.015,
195
+ 0.004
196
+ ],
197
+ "hold_open_angle": 0.7285879850387573,
198
+ "open_more_delta": 0.12,
199
+ "reference_tray_height": 1.0472617149353027,
200
+ "mask_handle_ids": [
201
+ 163
202
+ ]
203
+ },
204
+ "template_episode": "episode0",
205
+ "template_frames": {
206
+ "pregrasp": 229,
207
+ "grasp": 234,
208
+ "right_close": 91,
209
+ "right_open": 130,
210
+ "approach": [
211
+ 177,
212
+ 187,
213
+ 197,
214
+ 208,
215
+ 218,
216
+ 229,
217
+ 232
218
+ ],
219
+ "retreat": [
220
+ 239,
221
+ 244,
222
+ 249,
223
+ 254,
224
+ 264,
225
+ 274,
226
+ 284,
227
+ 295,
228
+ 305,
229
+ 310,
230
+ 315
231
+ ]
232
+ },
233
+ "episode_offset": 3
234
+ }
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_03/worker.log ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ WARNING:root:not sure how _robot_shapes are used is used.
2
+ WARNING:root:Waypoints are not reachable right=(False, 'waypoint0 - DualPanda') left=(True, '')
3
+ ERROR:root:Error when checking waypoints. Exception is: Error in task bimanual_take_tray_out_of_oven. Infeasible episode. Can't reach waypoint ((False, 'waypoint0 - DualPanda'), (True, '')).
4
+ WARNING: QApplication was not created in the main() thread.
5
+ WARNING:root:not sure how _robot_shapes are used is used.
artifacts/results/iter7_parallel_smoke_4ep_independent/worker_03/xvfb.log ADDED
File without changes
artifacts/results/oven_episode0_iter6_independent_full/episode0.dense.csv CHANGED
The diff for this file is too large to render. See raw diff
 
artifacts/results/oven_episode0_iter6_independent_full/episode0.keyframes.csv CHANGED
@@ -1,15 +1,15 @@
1
  frame_index,time_norm,door_angle,right_gripper_open,left_gripper_open,pregrasp_progress,pregrasp_distance,p_pre,p_ext,y_pre,y_ext,three_view_visibility,three_view_whole_tray_visibility,full_view_visibility,full_view_whole_tray_visibility,door_speed_abs,pregrasp_speed,phase_score,approach_active,y_retrieve,y_ready,phase_switch,keyframe_ordinal
2
- 61,0.18597560975609756,1.5707963705062866,1.0,1.0,0.0,0.2815471545898242,0.05011632570066666,0.0007351239522298171,1.0,0.0,1.0,1.0,1.0,1.0,0.0,0.001988831083530873,0.020484405759290156,0.0,0.0,0.0,1.0,0
3
- 91,0.2774390243902439,1.5705474615097046,0.0,1.0,0.0,0.2808195414862614,0.05034020214773165,0.0007343292236328118,1.0,0.0,1.0,1.0,1.0,1.0,0.0015521049499511719,0.003698527875334312,0.02737916203827016,0.0,0.0,0.0,1.0,1
4
- 93,0.28353658536585363,1.5695279836654663,0.0,1.0,0.0,0.28105223514889954,0.050292342759892396,0.0007343292236328118,1.0,0.0,1.0,1.0,1.0,1.0,0.0032663345336914062,-0.0006522298561245643,0.012573085689973099,0.0,0.0,0.0,1.0,2
5
- 130,0.39634146341463417,0.7299572229385376,1.0,1.0,0.0,0.2807313544459941,0.025190372580530272,0.0007351239522298171,0.0,0.0,1.0,1.0,1.0,1.0,0.07925748825073242,0.0010164967063264196,0.010363579970438247,0.0,0.0,0.0,1.0,3
6
- 132,0.4024390243902439,0.7298687696456909,1.0,1.0,0.0,0.2810092232588846,0.02510434072988856,0.0007351239522298171,0.0,0.0,1.0,1.0,1.0,1.0,0.011527538299560547,-0.0006978082441660982,0.00627608518247214,0.0,0.0,0.0,1.0,4
7
- 175,0.5335365853658537,0.7298847436904907,1.0,1.0,0.0,0.2810751229474485,0.025082568131946415,0.0007339318593343093,0.0,0.0,1.0,1.0,1.0,1.0,0.004901885986328125,0.004380962563844126,0.023794492288363108,0.0,0.0,0.0,1.0,5
8
- 234,0.7134146341463414,0.5657719373703003,1.0,0.0,0.893594492894221,0.02980199367504531,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.03125190734863281,0.0022235016276432595,0.7503709776023946,0.0,1.0,1.0,1.0,6
9
- 236,0.7195121951219512,0.5651155710220337,1.0,0.0,0.8942472865103727,0.029619159086471517,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.013582706451416016,-8.186486788797076e-05,0.741836007580705,0.0,1.0,1.0,1.0,7
10
- 266,0.8109756097560976,0.39120233058929443,1.0,0.0,0.8942605091463285,0.02961545646280096,1.0,0.8942861239115393,1.0,1.0,1.0,0.9925977127057937,1.0,0.9958181793651616,0.005779266357421875,-0.001747388770690951,0.7418432800304807,0.0,1.0,1.0,1.0,8
11
- 295,0.899390243902439,0.39143550395965576,1.0,0.0,0.8944821722383709,0.029553373615326353,1.0,1.0,1.0,1.0,0.01851851851851849,0.0,0.01851851851851849,0.3984725301798472,0.00179290771484375,-0.001257271121828142,0.7419651947311041,0.0,1.0,1.0,1.0,9
12
- 315,0.9603658536585366,0.3914602994918823,1.0,1.0,0.9059970234001095,0.026328300305375845,0.7547424919077979,1.0,1.0,1.0,0.9142857142857143,0.031339031339031376,0.9261893004115226,0.5272011938678606,0.007107257843017578,0.048611156548003104,0.8814286120390221,1.0,1.0,1.0,1.0,10
13
- 317,0.9664634146341463,0.39126694202423096,1.0,1.0,0.9114682917748704,0.024795909898429808,0.7485158670080193,1.0,1.0,1.0,0.9444444444444444,0.028490028490028463,0.9524798049077884,0.524831981883264,0.004470348358154297,-0.030190060249302673,0.6884365272281836,0.0,1.0,1.0,1.0,11
14
- 322,0.9817073170731707,0.39166319370269775,1.0,1.0,0.8993793003031135,0.028181788579850032,0.7587438286971109,1.0,1.0,1.0,0.9238095238095239,0.03418803418803418,0.9333369913123,0.5257173382173383,0.003941059112548828,0.01527386607724876,0.7454400366499853,1.0,1.0,1.0,1.0,12
15
- 328,1.0,0.3914250135421753,1.0,1.0,0.9016615670558527,0.02754257187710678,0.7553027732971624,1.0,1.0,1.0,0.9259259259259259,0.03703703703703698,0.9346441091297059,0.5261316872427984,0.0037717819213867188,-0.03662118395610786,0.6847395552050096,0.0,1.0,1.0,1.0,13
 
1
  frame_index,time_norm,door_angle,right_gripper_open,left_gripper_open,pregrasp_progress,pregrasp_distance,p_pre,p_ext,y_pre,y_ext,three_view_visibility,three_view_whole_tray_visibility,full_view_visibility,full_view_whole_tray_visibility,door_speed_abs,pregrasp_speed,phase_score,approach_active,y_retrieve,y_ready,phase_switch,keyframe_ordinal
2
+ 61,0.1859756097560975,1.5707963705062866,1.0,1.0,0.0,0.2815471545898242,0.0501163257006666,0.0007351239522298,1.0,0.0,1.0,1.0,1.0,1.0,0.0,0.001988831083530873,0.015034897710199979,0.0,0.0,0.0,0.0,0
3
+ 91,0.2774390243902439,1.5705474615097046,0.0,1.0,0.0,0.2808195414862614,0.0503402021477316,0.0007343292236328,1.0,0.0,1.0,1.0,1.0,1.0,0.0015521049499489514,0.003698527875333757,0.015102060644319478,0.0,0.0,0.0,0.0,1
4
+ 93,0.2835365853658536,1.5695279836654663,0.0,1.0,0.0,0.2810522351488995,0.0502923427598923,0.0007343292236328,1.0,0.0,1.0,1.0,1.0,1.0,0.003266334533689186,-0.0006522298561245643,0.015087702827967689,0.0,0.0,0.0,0.0,2
5
+ 130,0.3963414634146341,0.7299572229385376,1.0,1.0,0.0,0.2807313544459941,0.0251903725805302,0.0007351239522298,0.0,0.0,1.0,1.0,1.0,1.0,0.07925748825073242,0.0010164967063258645,0.00755711177415906,0.0,0.0,0.0,0.0,3
6
+ 132,0.4024390243902439,0.7298687696456909,1.0,1.0,0.0,0.2810092232588846,0.0251043407298885,0.0007351239522298,0.0,0.0,1.0,1.0,1.0,1.0,0.011527538299560547,-0.0006978082441660982,0.00753130221896655,0.0,0.0,0.0,0.0,4
7
+ 175,0.5335365853658537,0.7298847436904907,1.0,1.0,0.0,0.2810751229474485,0.0250825681319464,0.0007339318593343,0.0,0.0,1.0,1.0,1.0,1.0,0.004901885986328125,0.004380962563844126,0.00752477043958392,0.0,0.0,0.0,0.0,5
8
+ 234,0.7134146341463414,0.5657719373703003,1.0,0.0,0.893594492894221,0.0298019936750453,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.03125190734863281,0.002223501627642982,0.9255161450259546,0.0,1.0,1.0,1.0,6
9
+ 236,0.7195121951219512,0.5651155710220337,1.0,0.0,0.8942472865103727,0.0296191590864715,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.013582706451416016,-8.186486788797076e-05,0.9259731005572609,0.0,1.0,1.0,1.0,7
10
+ 266,0.8109756097560976,0.3912023305892944,1.0,0.0,0.8942605091463285,0.0296154564628009,1.0,0.8942861239115393,1.0,1.0,1.0,0.9925977127057936,1.0,0.9958181793651616,0.005779266357421875,-0.0017473887706909857,0.9259823564024299,0.0,1.0,1.0,1.0,8
11
+ 295,0.899390243902439,0.3914355039596557,1.0,0.0,0.8944821722383709,0.0295533736153263,1.0,1.0,1.0,1.0,0.0185185185185184,0.0,0.0185185185185184,0.3984725301798472,0.0017929077148443051,-0.0012572711218280033,0.9261375205668596,0.0,1.0,1.0,1.0,9
12
+ 315,0.9603658536585366,0.3914602994918823,1.0,1.0,0.9059970234001096,0.0263283003053758,0.7547424919077979,1.0,1.0,1.0,0.9142857142857144,0.0313390313390313,0.9261893004115226,0.5272011938678606,0.007107257843017023,0.048611156548003,0.860620663952416,1.0,1.0,1.0,1.0,10
13
+ 317,0.9664634146341464,0.3912669420242309,1.0,1.0,0.9114682917748704,0.0247959098984298,0.7485158670080193,1.0,1.0,1.0,0.9444444444444444,0.0284900284900284,0.9524798049077884,0.524831981883264,0.004470348358153742,-0.03019006024930198,0.8625825643448151,0.0,1.0,1.0,1.0,11
14
+ 322,0.9817073170731708,0.3916631937026977,1.0,1.0,0.8993793003031135,0.02818178857985,0.7587438286971109,1.0,1.0,1.0,0.923809523809524,0.0341880341880341,0.9333369913123,0.5257173382173383,0.003941059112548273,0.015273866077249003,0.8571886588213127,1.0,1.0,1.0,1.0,12
15
+ 328,1.0,0.3914250135421753,1.0,1.0,0.9016615670558528,0.0275425718771067,0.7553027732971624,1.0,1.0,1.0,0.925925925925926,0.0370370370370369,0.934644109129706,0.5261316872427984,0.0037717819213856085,-0.036621183956108,0.8577539289282456,0.0,1.0,1.0,1.0,13
artifacts/results/oven_episode0_iter6_independent_full/episode0.metrics.json CHANGED
@@ -7,15 +7,15 @@
7
  "phase_switch_falls": 0,
8
  "ppre_cross_frame": 216,
9
  "pext_cross_frame": 232,
10
- "phase_cross_frame": 7,
11
  "retrieve_cross_frame": 215,
12
  "ready_cross_frame": 234,
13
  "ordering_ok": true,
14
- "dense_boundary_error_to_retrieve_frames": 208.0,
15
- "dense_boundary_error_frames": 227.0,
16
- "dense_boundary_error_fraction": 0.6899696048632219,
17
- "key_boundary_error_to_retrieve_keyframes": 6.0,
18
- "key_boundary_error_keyframes": 6.0,
19
  "auroc_vret_ypre_three": 0.37333333333333335,
20
  "auprc_vret_ypre_three": 0.6271326031029801,
21
  "auroc_vret_ypre_full": 0.37333333333333335,
@@ -26,10 +26,10 @@
26
  "auprc_pext_yext": 1.0,
27
  "auroc_phase_yretrieve": 1.0,
28
  "auprc_phase_yretrieve": 1.0,
29
- "f1_phase_yretrieve": 0.5229357798165137,
30
- "auroc_phase_yready": 0.9615384615384615,
31
- "auprc_phase_yready": 0.7866105317416701,
32
- "f1_phase_yready": 0.4556354916067146,
33
  "baseline_auroc_door_yext": 0.0,
34
  "baseline_auprc_door_yext": 0.16605628948799386,
35
  "baseline_auroc_time_yext": 1.0,
 
7
  "phase_switch_falls": 0,
8
  "ppre_cross_frame": 216,
9
  "pext_cross_frame": 232,
10
+ "phase_cross_frame": 214,
11
  "retrieve_cross_frame": 215,
12
  "ready_cross_frame": 234,
13
  "ordering_ok": true,
14
+ "dense_boundary_error_to_retrieve_frames": 1.0,
15
+ "dense_boundary_error_frames": 20.0,
16
+ "dense_boundary_error_fraction": 0.060790273556231005,
17
+ "key_boundary_error_to_retrieve_keyframes": 0.0,
18
+ "key_boundary_error_keyframes": 0.0,
19
  "auroc_vret_ypre_three": 0.37333333333333335,
20
  "auprc_vret_ypre_three": 0.6271326031029801,
21
  "auroc_vret_ypre_full": 0.37333333333333335,
 
26
  "auprc_pext_yext": 1.0,
27
  "auroc_phase_yretrieve": 1.0,
28
  "auprc_phase_yretrieve": 1.0,
29
+ "f1_phase_yretrieve": 0.9956331877729258,
30
+ "auroc_phase_yready": 0.9982456140350877,
31
+ "auprc_phase_yready": 0.9955174255664128,
32
+ "f1_phase_yready": 0.9047619047619047,
33
  "baseline_auroc_door_yext": 0.0,
34
  "baseline_auprc_door_yext": 0.16605628948799386,
35
  "baseline_auroc_time_yext": 1.0,
artifacts/results/oven_episode0_iter6_independent_full/summary.json CHANGED
@@ -7,14 +7,14 @@
7
  "phase_switch_falls": 0.0,
8
  "ppre_cross_frame": 216.0,
9
  "pext_cross_frame": 232.0,
10
- "phase_cross_frame": 7.0,
11
  "retrieve_cross_frame": 215.0,
12
  "ready_cross_frame": 234.0,
13
- "dense_boundary_error_to_retrieve_frames": 208.0,
14
- "dense_boundary_error_frames": 227.0,
15
- "dense_boundary_error_fraction": 0.6899696048632219,
16
- "key_boundary_error_to_retrieve_keyframes": 6.0,
17
- "key_boundary_error_keyframes": 6.0,
18
  "auroc_vret_ypre_three": 0.37333333333333335,
19
  "auprc_vret_ypre_three": 0.6271326031029801,
20
  "auroc_vret_ypre_full": 0.37333333333333335,
@@ -25,10 +25,10 @@
25
  "auprc_pext_yext": 1.0,
26
  "auroc_phase_yretrieve": 1.0,
27
  "auprc_phase_yretrieve": 1.0,
28
- "f1_phase_yretrieve": 0.5229357798165137,
29
- "auroc_phase_yready": 0.9615384615384615,
30
- "auprc_phase_yready": 0.7866105317416701,
31
- "f1_phase_yready": 0.4556354916067146,
32
  "baseline_auroc_door_yext": 0.0,
33
  "baseline_auprc_door_yext": 0.16605628948799386,
34
  "baseline_auroc_time_yext": 1.0,
@@ -57,14 +57,14 @@
57
  "phase_switch_falls": 0.0,
58
  "ppre_cross_frame": 216.0,
59
  "pext_cross_frame": 232.0,
60
- "phase_cross_frame": 7.0,
61
  "retrieve_cross_frame": 215.0,
62
  "ready_cross_frame": 234.0,
63
- "dense_boundary_error_to_retrieve_frames": 208.0,
64
- "dense_boundary_error_frames": 227.0,
65
- "dense_boundary_error_fraction": 0.6899696048632219,
66
- "key_boundary_error_to_retrieve_keyframes": 6.0,
67
- "key_boundary_error_keyframes": 6.0,
68
  "auroc_vret_ypre_three": 0.37333333333333335,
69
  "auprc_vret_ypre_three": 0.6271326031029801,
70
  "auroc_vret_ypre_full": 0.37333333333333335,
@@ -75,10 +75,10 @@
75
  "auprc_pext_yext": 1.0,
76
  "auroc_phase_yretrieve": 1.0,
77
  "auprc_phase_yretrieve": 1.0,
78
- "f1_phase_yretrieve": 0.5229357798165137,
79
- "auroc_phase_yready": 0.9615384615384615,
80
- "auprc_phase_yready": 0.7866105317416701,
81
- "f1_phase_yready": 0.4556354916067146,
82
  "baseline_auroc_door_yext": 0.0,
83
  "baseline_auprc_door_yext": 0.16605628948799386,
84
  "baseline_auroc_time_yext": 1.0,
 
7
  "phase_switch_falls": 0.0,
8
  "ppre_cross_frame": 216.0,
9
  "pext_cross_frame": 232.0,
10
+ "phase_cross_frame": 214.0,
11
  "retrieve_cross_frame": 215.0,
12
  "ready_cross_frame": 234.0,
13
+ "dense_boundary_error_to_retrieve_frames": 1.0,
14
+ "dense_boundary_error_frames": 20.0,
15
+ "dense_boundary_error_fraction": 0.060790273556231005,
16
+ "key_boundary_error_to_retrieve_keyframes": 0.0,
17
+ "key_boundary_error_keyframes": 0.0,
18
  "auroc_vret_ypre_three": 0.37333333333333335,
19
  "auprc_vret_ypre_three": 0.6271326031029801,
20
  "auroc_vret_ypre_full": 0.37333333333333335,
 
25
  "auprc_pext_yext": 1.0,
26
  "auroc_phase_yretrieve": 1.0,
27
  "auprc_phase_yretrieve": 1.0,
28
+ "f1_phase_yretrieve": 0.9956331877729258,
29
+ "auroc_phase_yready": 0.9982456140350877,
30
+ "auprc_phase_yready": 0.9955174255664128,
31
+ "f1_phase_yready": 0.9047619047619047,
32
  "baseline_auroc_door_yext": 0.0,
33
  "baseline_auprc_door_yext": 0.16605628948799386,
34
  "baseline_auroc_time_yext": 1.0,
 
57
  "phase_switch_falls": 0.0,
58
  "ppre_cross_frame": 216.0,
59
  "pext_cross_frame": 232.0,
60
+ "phase_cross_frame": 214.0,
61
  "retrieve_cross_frame": 215.0,
62
  "ready_cross_frame": 234.0,
63
+ "dense_boundary_error_to_retrieve_frames": 1.0,
64
+ "dense_boundary_error_frames": 20.0,
65
+ "dense_boundary_error_fraction": 0.060790273556231005,
66
+ "key_boundary_error_to_retrieve_keyframes": 0.0,
67
+ "key_boundary_error_keyframes": 0.0,
68
  "auroc_vret_ypre_three": 0.37333333333333335,
69
  "auprc_vret_ypre_three": 0.6271326031029801,
70
  "auroc_vret_ypre_full": 0.37333333333333335,
 
75
  "auprc_pext_yext": 1.0,
76
  "auroc_phase_yretrieve": 1.0,
77
  "auprc_phase_yretrieve": 1.0,
78
+ "f1_phase_yretrieve": 0.9956331877729258,
79
+ "auroc_phase_yready": 0.9982456140350877,
80
+ "auprc_phase_yready": 0.9955174255664128,
81
+ "f1_phase_yready": 0.9047619047619047,
82
  "baseline_auroc_door_yext": 0.0,
83
  "baseline_auprc_door_yext": 0.16605628948799386,
84
  "baseline_auroc_time_yext": 1.0,
artifacts/results/oven_episode0_iter6_visual_checks/early_visibility_contact_sheet.png ADDED

Git LFS Details

  • SHA256: 50d72f134b62ee530bed59e8057b95e8bc1d5e32d3464085f1d6dd31c32f34b6
  • Pointer size: 131 Bytes
  • Size of remote file: 289 kB
code/rr_label_study/oven_study.py CHANGED
@@ -1262,6 +1262,91 @@ def _annotate_phase_columns(frame_df: pd.DataFrame) -> pd.DataFrame:
1262
  return frame_df
1263
 
1264
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1265
  def _interventional_validity(
1266
  task,
1267
  cache: ReplayCache,
@@ -1409,85 +1494,16 @@ def _analyze_episode(
1409
  keyframes = [index for index in _keypoint_discovery(demo) if index < num_frames]
1410
  key_df = _keyframe_subset(frame_df, keyframes)
1411
 
1412
- y_pre_arr = frame_df["y_pre"].to_numpy(dtype=int)
1413
- y_ext_arr = frame_df["y_ext"].to_numpy(dtype=int)
1414
- y_retrieve_arr = frame_df["y_retrieve"].to_numpy(dtype=int)
1415
- y_ready_arr = frame_df["y_ready"].to_numpy(dtype=int)
1416
- p_pre_arr = frame_df["p_pre"].to_numpy(dtype=float)
1417
- p_ext_arr = frame_df["p_ext"].to_numpy(dtype=float)
1418
- phase_arr = frame_df["phase_switch"].to_numpy(dtype=int)
1419
- whole_vis = frame_df["full_view_whole_tray_visibility"].to_numpy(dtype=float)
1420
- door_angle_arr = frame_df["door_angle"].to_numpy(dtype=float)
1421
- time_arr = frame_df["time_norm"].to_numpy(dtype=float)
1422
-
1423
- ppre_cross = _first_crossing(p_pre_arr, DEFAULT_PPRE_TAU)
1424
- pext_cross = _first_crossing(p_ext_arr, DEFAULT_PEXT_TAU)
1425
- phase_cross = _first_crossing(frame_df["phase_switch"].to_numpy(dtype=float), 0.5)
1426
- retrieve_cross = _first_crossing(y_retrieve_arr.astype(float), 0.5)
1427
- ready_cross = _first_crossing(y_ready_arr.astype(float), 0.5)
1428
- phase_rises, phase_falls = _transition_count(phase_arr)
1429
-
1430
- key_phase_cross = _first_crossing(key_df["phase_switch"].to_numpy(dtype=float), 0.5)
1431
- key_retrieve_cross = _first_crossing(key_df["y_retrieve"].to_numpy(dtype=float), 0.5)
1432
- key_ready_cross = _first_crossing(key_df["y_ready"].to_numpy(dtype=float), 0.5)
1433
-
1434
  interventions = _interventional_validity(
1435
  task, cache, episode_dir, demo, templates, frame_df
1436
  )
1437
- metrics = {
1438
- "episode_name": episode_dir.name,
1439
- "description": descriptions[0],
1440
- "num_dense_frames": int(num_frames),
1441
- "num_keyframes": int(len(key_df)),
1442
- "phase_switch_rises": int(phase_rises),
1443
- "phase_switch_falls": int(phase_falls),
1444
- "ppre_cross_frame": int(ppre_cross),
1445
- "pext_cross_frame": int(pext_cross),
1446
- "phase_cross_frame": int(phase_cross),
1447
- "retrieve_cross_frame": int(retrieve_cross),
1448
- "ready_cross_frame": int(ready_cross),
1449
- "ordering_ok": bool(ppre_cross == -1 or pext_cross == -1 or ppre_cross <= pext_cross),
1450
- "dense_boundary_error_to_retrieve_frames": float(abs(phase_cross - retrieve_cross))
1451
- if phase_cross >= 0 and retrieve_cross >= 0
1452
- else float("nan"),
1453
- "dense_boundary_error_frames": float(abs(phase_cross - ready_cross))
1454
- if phase_cross >= 0 and ready_cross >= 0
1455
- else float("nan"),
1456
- "dense_boundary_error_fraction": float(abs(phase_cross - ready_cross) / len(frame_df))
1457
- if phase_cross >= 0 and ready_cross >= 0
1458
- else float("nan"),
1459
- "key_boundary_error_to_retrieve_keyframes": float(abs(key_phase_cross - key_retrieve_cross))
1460
- if key_phase_cross >= 0 and key_retrieve_cross >= 0
1461
- else float("nan"),
1462
- "key_boundary_error_keyframes": float(abs(key_phase_cross - key_ready_cross))
1463
- if key_phase_cross >= 0 and key_ready_cross >= 0
1464
- else float("nan"),
1465
- "auroc_vret_ypre_three": _safe_auc(y_pre_arr, frame_df["three_view_visibility"].to_numpy(dtype=float)),
1466
- "auprc_vret_ypre_three": _safe_auprc(y_pre_arr, frame_df["three_view_visibility"].to_numpy(dtype=float)),
1467
- "auroc_vret_ypre_full": _safe_auc(y_pre_arr, frame_df["full_view_visibility"].to_numpy(dtype=float)),
1468
- "auprc_vret_ypre_full": _safe_auprc(y_pre_arr, frame_df["full_view_visibility"].to_numpy(dtype=float)),
1469
- "auroc_ppre_ypre": _safe_auc(y_pre_arr, p_pre_arr),
1470
- "auprc_ppre_ypre": _safe_auprc(y_pre_arr, p_pre_arr),
1471
- "auroc_pext_yext": _safe_auc(y_ext_arr, p_ext_arr),
1472
- "auprc_pext_yext": _safe_auprc(y_ext_arr, p_ext_arr),
1473
- "auroc_phase_yretrieve": _safe_auc(y_retrieve_arr, frame_df["phase_score"].to_numpy(dtype=float)),
1474
- "auprc_phase_yretrieve": _safe_auprc(y_retrieve_arr, frame_df["phase_score"].to_numpy(dtype=float)),
1475
- "f1_phase_yretrieve": float(f1_score(y_retrieve_arr, phase_arr))
1476
- if np.any(y_retrieve_arr) and np.any(phase_arr)
1477
- else float("nan"),
1478
- "auroc_phase_yready": _safe_auc(y_ready_arr, frame_df["phase_score"].to_numpy(dtype=float)),
1479
- "auprc_phase_yready": _safe_auprc(y_ready_arr, frame_df["phase_score"].to_numpy(dtype=float)),
1480
- "f1_phase_yready": float(f1_score(y_ready_arr, phase_arr))
1481
- if np.any(y_ready_arr) and np.any(phase_arr)
1482
- else float("nan"),
1483
- "baseline_auroc_door_yext": _safe_auc(y_ext_arr, door_angle_arr),
1484
- "baseline_auprc_door_yext": _safe_auprc(y_ext_arr, door_angle_arr),
1485
- "baseline_auroc_time_yext": _safe_auc(y_ext_arr, time_arr),
1486
- "baseline_auprc_time_yext": _safe_auprc(y_ext_arr, time_arr),
1487
- "baseline_auroc_whole_vis_yext": _safe_auc(y_ext_arr, whole_vis),
1488
- "baseline_auprc_whole_vis_yext": _safe_auprc(y_ext_arr, whole_vis),
1489
- **interventions,
1490
- }
1491
  return EpisodeArtifacts(
1492
  episode_name=episode_dir.name,
1493
  dense=frame_df,
 
1262
  return frame_df
1263
 
1264
 
1265
+ def _episode_metrics_from_frames(
1266
+ frame_df: pd.DataFrame,
1267
+ key_df: pd.DataFrame,
1268
+ episode_name: str,
1269
+ description: str,
1270
+ interventions: Dict[str, float],
1271
+ ) -> Dict[str, object]:
1272
+ y_pre_arr = frame_df["y_pre"].to_numpy(dtype=int)
1273
+ y_ext_arr = frame_df["y_ext"].to_numpy(dtype=int)
1274
+ y_retrieve_arr = frame_df["y_retrieve"].to_numpy(dtype=int)
1275
+ y_ready_arr = frame_df["y_ready"].to_numpy(dtype=int)
1276
+ p_pre_arr = frame_df["p_pre"].to_numpy(dtype=float)
1277
+ p_ext_arr = frame_df["p_ext"].to_numpy(dtype=float)
1278
+ phase_arr = frame_df["phase_switch"].to_numpy(dtype=int)
1279
+ whole_vis = frame_df["full_view_whole_tray_visibility"].to_numpy(dtype=float)
1280
+ door_angle_arr = frame_df["door_angle"].to_numpy(dtype=float)
1281
+ time_arr = frame_df["time_norm"].to_numpy(dtype=float)
1282
+
1283
+ ppre_cross = _first_crossing(p_pre_arr, DEFAULT_PPRE_TAU)
1284
+ pext_cross = _first_crossing(p_ext_arr, DEFAULT_PEXT_TAU)
1285
+ phase_cross = _first_crossing(frame_df["phase_switch"].to_numpy(dtype=float), 0.5)
1286
+ retrieve_cross = _first_crossing(y_retrieve_arr.astype(float), 0.5)
1287
+ ready_cross = _first_crossing(y_ready_arr.astype(float), 0.5)
1288
+ phase_rises, phase_falls = _transition_count(phase_arr)
1289
+
1290
+ key_phase_cross = _first_crossing(key_df["phase_switch"].to_numpy(dtype=float), 0.5)
1291
+ key_retrieve_cross = _first_crossing(key_df["y_retrieve"].to_numpy(dtype=float), 0.5)
1292
+ key_ready_cross = _first_crossing(key_df["y_ready"].to_numpy(dtype=float), 0.5)
1293
+
1294
+ return {
1295
+ "episode_name": episode_name,
1296
+ "description": description,
1297
+ "num_dense_frames": int(len(frame_df)),
1298
+ "num_keyframes": int(len(key_df)),
1299
+ "phase_switch_rises": int(phase_rises),
1300
+ "phase_switch_falls": int(phase_falls),
1301
+ "ppre_cross_frame": int(ppre_cross),
1302
+ "pext_cross_frame": int(pext_cross),
1303
+ "phase_cross_frame": int(phase_cross),
1304
+ "retrieve_cross_frame": int(retrieve_cross),
1305
+ "ready_cross_frame": int(ready_cross),
1306
+ "ordering_ok": bool(ppre_cross == -1 or pext_cross == -1 or ppre_cross <= pext_cross),
1307
+ "dense_boundary_error_to_retrieve_frames": float(abs(phase_cross - retrieve_cross))
1308
+ if phase_cross >= 0 and retrieve_cross >= 0
1309
+ else float("nan"),
1310
+ "dense_boundary_error_frames": float(abs(phase_cross - ready_cross))
1311
+ if phase_cross >= 0 and ready_cross >= 0
1312
+ else float("nan"),
1313
+ "dense_boundary_error_fraction": float(abs(phase_cross - ready_cross) / len(frame_df))
1314
+ if phase_cross >= 0 and ready_cross >= 0
1315
+ else float("nan"),
1316
+ "key_boundary_error_to_retrieve_keyframes": float(abs(key_phase_cross - key_retrieve_cross))
1317
+ if key_phase_cross >= 0 and key_retrieve_cross >= 0
1318
+ else float("nan"),
1319
+ "key_boundary_error_keyframes": float(abs(key_phase_cross - key_ready_cross))
1320
+ if key_phase_cross >= 0 and key_ready_cross >= 0
1321
+ else float("nan"),
1322
+ "auroc_vret_ypre_three": _safe_auc(y_pre_arr, frame_df["three_view_visibility"].to_numpy(dtype=float)),
1323
+ "auprc_vret_ypre_three": _safe_auprc(y_pre_arr, frame_df["three_view_visibility"].to_numpy(dtype=float)),
1324
+ "auroc_vret_ypre_full": _safe_auc(y_pre_arr, frame_df["full_view_visibility"].to_numpy(dtype=float)),
1325
+ "auprc_vret_ypre_full": _safe_auprc(y_pre_arr, frame_df["full_view_visibility"].to_numpy(dtype=float)),
1326
+ "auroc_ppre_ypre": _safe_auc(y_pre_arr, p_pre_arr),
1327
+ "auprc_ppre_ypre": _safe_auprc(y_pre_arr, p_pre_arr),
1328
+ "auroc_pext_yext": _safe_auc(y_ext_arr, p_ext_arr),
1329
+ "auprc_pext_yext": _safe_auprc(y_ext_arr, p_ext_arr),
1330
+ "auroc_phase_yretrieve": _safe_auc(y_retrieve_arr, frame_df["phase_score"].to_numpy(dtype=float)),
1331
+ "auprc_phase_yretrieve": _safe_auprc(y_retrieve_arr, frame_df["phase_score"].to_numpy(dtype=float)),
1332
+ "f1_phase_yretrieve": float(f1_score(y_retrieve_arr, phase_arr))
1333
+ if np.any(y_retrieve_arr) and np.any(phase_arr)
1334
+ else float("nan"),
1335
+ "auroc_phase_yready": _safe_auc(y_ready_arr, frame_df["phase_score"].to_numpy(dtype=float)),
1336
+ "auprc_phase_yready": _safe_auprc(y_ready_arr, frame_df["phase_score"].to_numpy(dtype=float)),
1337
+ "f1_phase_yready": float(f1_score(y_ready_arr, phase_arr))
1338
+ if np.any(y_ready_arr) and np.any(phase_arr)
1339
+ else float("nan"),
1340
+ "baseline_auroc_door_yext": _safe_auc(y_ext_arr, door_angle_arr),
1341
+ "baseline_auprc_door_yext": _safe_auprc(y_ext_arr, door_angle_arr),
1342
+ "baseline_auroc_time_yext": _safe_auc(y_ext_arr, time_arr),
1343
+ "baseline_auprc_time_yext": _safe_auprc(y_ext_arr, time_arr),
1344
+ "baseline_auroc_whole_vis_yext": _safe_auc(y_ext_arr, whole_vis),
1345
+ "baseline_auprc_whole_vis_yext": _safe_auprc(y_ext_arr, whole_vis),
1346
+ **interventions,
1347
+ }
1348
+
1349
+
1350
  def _interventional_validity(
1351
  task,
1352
  cache: ReplayCache,
 
1494
  keyframes = [index for index in _keypoint_discovery(demo) if index < num_frames]
1495
  key_df = _keyframe_subset(frame_df, keyframes)
1496
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1497
  interventions = _interventional_validity(
1498
  task, cache, episode_dir, demo, templates, frame_df
1499
  )
1500
+ metrics = _episode_metrics_from_frames(
1501
+ frame_df=frame_df,
1502
+ key_df=key_df,
1503
+ episode_name=episode_dir.name,
1504
+ description=descriptions[0],
1505
+ interventions=interventions,
1506
+ )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1507
  return EpisodeArtifacts(
1508
  episode_name=episode_dir.name,
1509
  dense=frame_df,
code/scripts/refresh_saved_oven_study.py ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+ import json
3
+ from pathlib import Path
4
+ import sys
5
+
6
+ import pandas as pd
7
+
8
+
9
+ PROJECT_ROOT = Path(__file__).resolve().parents[1]
10
+ if str(PROJECT_ROOT) not in sys.path:
11
+ sys.path.insert(0, str(PROJECT_ROOT))
12
+
13
+ from rr_label_study.oven_study import ( # noqa: E402
14
+ _aggregate_summary,
15
+ _annotate_phase_columns,
16
+ _episode_metrics_from_frames,
17
+ )
18
+
19
+
20
+ INTERVENTION_KEYS = [
21
+ "pre_ready_open_more_increases_pext",
22
+ "pre_ready_open_more_trials",
23
+ "pre_ready_hold_open_increases_pext",
24
+ "pre_ready_hold_open_trials",
25
+ "pre_ready_extract_success",
26
+ "pre_ready_extract_trials",
27
+ "pre_ready_wait_extract_success",
28
+ "pre_ready_wait_trials",
29
+ "post_ready_extract_success",
30
+ "post_ready_extract_trials",
31
+ "post_ready_open_more_low_gain",
32
+ "post_ready_open_more_trials",
33
+ "post_ready_hold_open_low_gain",
34
+ "post_ready_hold_open_trials",
35
+ ]
36
+
37
+
38
+ def _refresh_episode(result_dir: Path, episode_name: str) -> dict:
39
+ dense_path = result_dir / f"{episode_name}.dense.csv"
40
+ keyframes_path = result_dir / f"{episode_name}.keyframes.csv"
41
+ metrics_path = result_dir / f"{episode_name}.metrics.json"
42
+
43
+ dense_df = pd.read_csv(dense_path)
44
+ dense_df = _annotate_phase_columns(dense_df)
45
+
46
+ old_key_df = pd.read_csv(keyframes_path)
47
+ keyframe_indices = old_key_df["frame_index"].astype(int).tolist()
48
+ key_df = dense_df[dense_df["frame_index"].isin(keyframe_indices)].copy()
49
+ key_df = key_df.sort_values("frame_index").reset_index(drop=True)
50
+ key_df["keyframe_ordinal"] = range(len(key_df))
51
+
52
+ with metrics_path.open("r", encoding="utf-8") as handle:
53
+ old_metrics = json.load(handle)
54
+ interventions = {
55
+ key: float(old_metrics[key]) for key in INTERVENTION_KEYS if key in old_metrics
56
+ }
57
+
58
+ metrics = _episode_metrics_from_frames(
59
+ frame_df=dense_df,
60
+ key_df=key_df,
61
+ episode_name=episode_name,
62
+ description=str(old_metrics.get("description", "")),
63
+ interventions=interventions,
64
+ )
65
+
66
+ dense_df.to_csv(dense_path, index=False)
67
+ key_df.to_csv(keyframes_path, index=False)
68
+ with metrics_path.open("w", encoding="utf-8") as handle:
69
+ json.dump(metrics, handle, indent=2)
70
+ return metrics
71
+
72
+
73
+ def main(argv=None) -> int:
74
+ parser = argparse.ArgumentParser()
75
+ parser.add_argument("--result-dir", required=True)
76
+ parser.add_argument("--episodes", nargs="*")
77
+ args = parser.parse_args(argv)
78
+
79
+ result_dir = Path(args.result_dir)
80
+ episode_metrics = []
81
+ if args.episodes:
82
+ episode_names = args.episodes
83
+ else:
84
+ episode_names = sorted(
85
+ path.stem.replace(".metrics", "")
86
+ for path in result_dir.glob("episode*.metrics.json")
87
+ )
88
+
89
+ for episode_name in episode_names:
90
+ episode_metrics.append(_refresh_episode(result_dir, episode_name))
91
+
92
+ summary = _aggregate_summary(episode_metrics)
93
+ with result_dir.joinpath("summary.json").open("w", encoding="utf-8") as handle:
94
+ json.dump(summary, handle, indent=2)
95
+ print(json.dumps(summary, indent=2))
96
+ return 0
97
+
98
+
99
+ if __name__ == "__main__":
100
+ raise SystemExit(main())