B111ue commited on
Commit
47f2d75
·
verified ·
1 Parent(s): 6df2ddf

Upload strict640x480-v2/code/wait_and_render_all5_report.sh with huggingface_hub

Browse files
strict640x480-v2/code/wait_and_render_all5_report.sh ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # Render the formal comparison only after every method/task evaluation exists.
3
+ set -euo pipefail
4
+
5
+ root=/workspace/RoboFactory/runs/strict640x480_v2
6
+ results="$root/results"
7
+ tasks=(lift_barrier camera_alignment three_robots_stack_cube long_pipeline_delivery take_photo)
8
+ methods=(frozen_dinov3_act_all5_80k stereo_cross_relbias_all5_80k stereo_ffn_moe_all5_80k local_arca_all5_80k)
9
+
10
+ while :; do
11
+ ready=1
12
+ for method in "${methods[@]}"; do
13
+ for task in "${tasks[@]}"; do
14
+ [[ -s "$results/$method/formal_heldout_100/eval_${task}.json" ]] || ready=0
15
+ done
16
+ done
17
+ [[ "$ready" == 1 ]] && break
18
+ sleep 60
19
+ done
20
+
21
+ /workspace/venvs/robofactory-act/bin/python3.10 \
22
+ /workspace/act_liftbarrier/make_strict640x480_result_table.py \
23
+ --root "$results" --output "$root/final_report"
24
+ printf 'FORMAL_ALL5_REPORT_COMPLETE\n' > "$root/final_report/COMPLETE"
25
+ echo FORMAL_ALL5_REPORT_COMPLETE