Download eval/source/robot_tools/droid/scripts/sbatch_fetch_only.sh from JiayiWuLeo/RobotZero: direct link, hf CLI and curl.
- Browser
- Download file 674 Bytes
-
https://huggingface.co/datasets/JiayiWuLeo/RobotZero/resolve/main/eval/source/robot_tools/droid/scripts/sbatch_fetch_only.sh
- Command line
-
hf download hf://datasets/JiayiWuLeo/RobotZero/eval/source/robot_tools/droid/scripts/sbatch_fetch_only.sh
-
curl -L -o sbatch_fetch_only.sh https://huggingface.co/datasets/JiayiWuLeo/RobotZero/resolve/main/eval/source/robot_tools/droid/scripts/sbatch_fetch_only.sh
674 Bytes
| #SBATCH --job-name=droid_fetch | |
| #SBATCH --partition=c6-128-main | |
| #SBATCH --cpus-per-task=2 | |
| #SBATCH --mem=4G | |
| #SBATCH --time=02:00:00 | |
| #SBATCH --output=/home/wujiayir/robot_tools/droid/out/slurm/fetch_%A_%a.log | |
| # Fetch-only: 25 episodes per array task from data/fetch_only_manifest.txt | |
| set -u | |
| DROID=/home/wujiayir/robot_tools/droid | |
| PY=/home/wujiayir/miniconda3/envs/droid/bin/python | |
| START=$((SLURM_ARRAY_TASK_ID * 25 + 1)) | |
| sed -n "${START},$((START + 24))p" "$DROID/data/fetch_only_manifest.txt" | while IFS=$'\t' read -r UUID REL; do | |
| [ -z "$UUID" ] && continue | |
| $PY "$DROID/scripts/fetch_episode.py" "$UUID" "$REL" || echo "FETCH_FAIL $UUID" | |
| done | |
| echo FETCH_DONE | |