Instructions to use WitneyWW/acts-sensoronly-ablation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use WitneyWW/acts-sensoronly-ablation with Cosmos:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download scripts/infer_val.sh from WitneyWW/acts-sensoronly-ablation: direct link, hf CLI and curl.
- Browser
- Download file 1.56 kB
-
https://huggingface.co/WitneyWW/acts-sensoronly-ablation/resolve/main/scripts/infer_val.sh
- Command line
-
hf download hf://WitneyWW/acts-sensoronly-ablation/scripts/infer_val.sh
-
curl -L -o infer_val.sh https://huggingface.co/WitneyWW/acts-sensoronly-ablation/resolve/main/scripts/infer_val.sh
1.56 kB
| # 1116 TODO: VAL-set inference of one pushT / rope run at epochs 14 and 15 (epoch_014.pt, epoch_015.pt), 4 GPUs. | |
| # Uses the val cases of that run's task (eval/cases/{pusht,rope}_val_cases.json, from the val split of the run's own | |
| # split file), writes runs/<run_name>/val_epoch_01{4,5}/summary.md and uploads results/<run_name>/val_epoch_01{4,5}/ | |
| # (+ checkpoints/<run_name>/epoch_01{4,5}.pt for the TODO runs) to the HF repo. | |
| # bash scripts/infer_val.sh configs/nano_action_causal_pusht_v1.yaml # parent (shipped ckpts) -- run first | |
| # bash scripts/infer_val.sh configs/nano_action_causal_pusht_sensoronly_v1.yaml | |
| # bash scripts/infer_val.sh configs/nano_action_causal_pusht_sensoronly_noforce_v1.yaml | |
| # EPOCHS="14" bash scripts/infer_val.sh <config> --no-upload # one epoch, no upload | |
| # Works as soon as runs/<run_name>/epoch_014.pt exists (training may still be running on other GPUs). | |
| # Resumable: re-run the same command, finished cases are skipped. | |
| set -euo pipefail | |
| HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | |
| source "${ACTS_REPO:-$HERE}/env.sh" | |
| cd "$ACTS_REPO" | |
| CONFIG="${1:?usage: infer_val.sh configs/nano_action_causal_<pusht|rope>_<variant>.yaml [--no-upload]}"; shift || true | |
| case "$CONFIG" in | |
| *pusht*|*rope*) ;; | |
| *) echo "infer_val.sh: val cases exist only for pushT and rope configs, got $CONFIG" >&2; exit 1 ;; | |
| esac | |
| for E in ${EPOCHS:-14 15}; do | |
| "$PYTHON_BIN" -u scripts/todo_eval_upload.py "$CONFIG" --split val --epoch "$E" --ngpu "${NGPU:-4}" "$@" | |
| done | |