Download eval/source/robot_tools/droid/scripts/queue_refine.sh from JiayiWuLeo/RobotZero: direct link, hf CLI and curl.
- Browser
- Download file 578 Bytes
-
https://huggingface.co/datasets/JiayiWuLeo/RobotZero/resolve/main/eval/source/robot_tools/droid/scripts/queue_refine.sh
- Command line
-
hf download hf://datasets/JiayiWuLeo/RobotZero/eval/source/robot_tools/droid/scripts/queue_refine.sh
-
curl -L -o queue_refine.sh https://huggingface.co/datasets/JiayiWuLeo/RobotZero/resolve/main/eval/source/robot_tools/droid/scripts/queue_refine.sh
578 Bytes
| # Wait for any running refinement batch, then refine+grid all episodes that | |
| # don't have calib_refined.json yet, 6 at a time. | |
| cd "$(dirname "$0")" | |
| PY=~/miniconda3/envs/droid/bin/python | |
| sleep 5 | |
| while pgrep -f 'refine_time_ext\.py ' >/dev/null; do sleep 30; done | |
| ls -d ../data/*+*/ | sed 's:/$::' | while read -r d; do | |
| [ -f "$d/calib_refined.json" ] || echo "$d" | |
| done | xargs -P 6 -I EPDIR bash -c "$PY refine_time_ext.py 'EPDIR' > 'EPDIR/refine.log' 2>&1; $PY make_grid.py 'EPDIR' --rows 5 --wrist >> 'EPDIR/refine.log' 2>&1; echo 'done EPDIR'" | |
| echo QUEUE_ALL_DONE | |