turkic-ocr-code / scripts /r5_erran /r5_erran_py.sbatch
treoa's picture
Release 1
24aaa76
Raw History Blame Contribute Delete
490 Bytes
#!/bin/bash
#SBATCH --job-name=r5_erran_py
#SBATCH --partition=ZEN4
#SBATCH --qos=nu-zen4
#SBATCH --gres=none
#SBATCH --cpus-per-task=4
#SBATCH --mem=16G
#SBATCH --time=00:30:00
#SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out
# R5 ERRAN: run one ERRAN script from CODE/scripts/r5_erran with its arguments, e.g.
# sbatch r5_erran_py.sbatch erran_sample.py --out DATA/outputs/r5/erran
C=/path/to/TURKIC_OCR_CODE
S=$1
shift
$C/.venv_kraken/bin/python -I $C/scripts/r5_erran/$S "$@"