Upload strict640x480-v2/code/accelerate_strict_lpd_collection.sh with huggingface_hub
Browse files12345678910111213141516171819202122232425262728293031323334#!/usr/bin/env bash# Complete the remaining 52 strict LPD demonstrations in parallel without# touching the already-collected formal corpus. The three source directories# are audited together before any merge is allowed.set -euo pipefail
ROOT="/workspace/RoboFactory/runs/strict640x480_v2_lpd_accel"COLLECT="/workspace/act_liftbarrier/run_strict_task_collection.sh"AUDIT="/workspace/act_liftbarrier/audit_strict640x480_corpus.py"PYTHON="/workspace/venvs/robofactory-act/bin/python"
if [[ -e "$ROOT" ]]; then echo "Refusing to reuse existing acceleration root: $ROOT" >&2 exit 2fimkdir -p "$ROOT"
# One successful trajectory per worker. The seed ranges are deliberately# disjoint from the original LPD collection and from one another."$COLLECT" long_pipeline_delivery 1 18 "$ROOT/gpu1" 1700000 18 &pid1=$!"$COLLECT" long_pipeline_delivery 2 17 "$ROOT/gpu2" 1800000 17 &pid2=$!"$COLLECT" long_pipeline_delivery 3 17 "$ROOT/gpu3" 1900000 17 &pid3=$!wait "$pid1" "$pid2" "$pid3"
"$PYTHON" "$AUDIT" \ --task long_pipeline_delivery \ --data "$ROOT/*/worker_*.h5" \ --expected-episodes 52 \ --output "$ROOT/strict_audit.json"touch "$ROOT/COMPLETE_52"echo "LPD_ACCELERATION_COMPLETE"strict640x480-v2/code/accelerate_strict_lpd_collection.shAdded+34