RefSeg-CA / source /slurm /full_clipseg.sbatch
nmsofficial's picture
Add verified public availability and human-evaluation guide
9126e0d verified
Raw History Blame Contribute Delete
662 Bytes
#!/bin/bash
#SBATCH --job-name=r2-full-clipseg
#SBATCH --partition=debug
#SBATCH --array=0-3%4
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=8
#SBATCH --mem=32G
#SBATCH --gres=gpu:1
#SBATCH --time=03:30:00
#SBATCH --dependency=afterok:6332001
#SBATCH --output=logs/full-clipseg-%A_%a.out
#SBATCH --error=logs/full-clipseg-%A_%a.err
set -euo pipefail
export OMP_NUM_THREADS=4 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=4 TOKENIZERS_PARALLELISM=false
export PYTHONPATH="/arf/scratch/egitimg16u1/mcp-workspace/refseg_scale_20260906/vendor${PYTHONPATH:+:$PYTHONPATH}"
python3 -u code/infer_r2.py --model clipseg --shard "$SLURM_ARRAY_TASK_ID" --shards 4