#!/usr/bin/env bash # pushT inference script for a finished pushT TODO run (after 20 epochs): runs the pushT test set only # (30 cases from the test split of splits/mixed_pusht_wrist_holdout.json) on 4 GPUs, writes summary.md and uploads # checkpoints// + results//test_epoch_019/ to the HF repo. # bash scripts/infer_pusht.sh configs/nano_action_causal_pusht_sensoronly_v1.yaml # bash scripts/infer_pusht.sh configs/nano_action_causal_pusht_sensoronly_noforce_v1.yaml # Refuses configs of another task, and refuses to run before runs//epoch_019.pt exists. set -euo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" source "${ACTS_REPO:-$HERE}/env.sh" cd "$ACTS_REPO" CONFIG="${1:?usage: infer_pusht.sh configs/nano_action_causal_pusht__v1.yaml [--no-upload]}"; shift || true exec "$PYTHON_BIN" -u scripts/todo_eval_upload.py "$CONFIG" --task pusht --ngpu "${NGPU:-4}" "$@"