File size: 588 Bytes
24aaa76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#SBATCH --job-name=r5_ld_curvepost
#SBATCH --partition=ZEN4
#SBATCH --qos=nu-zen4
#SBATCH --gres=none
#SBATCH --cpus-per-task=16
#SBATCH --mem=32G
#SBATCH --time=03:00:00
#SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out
# After the GPU job: greedy scoring of every learning-curve checkpoint that has no curve_v1.tsv yet (CPU).
CODE=/path/to/TURKIC_OCR_CODE
unset HF_TOKEN HUGGING_FACE_HUB_TOKEN
export OMP_NUM_THREADS=8 MKL_NUM_THREADS=8
for ARM in A1 A2 A3 A4 A1s; do
  $CODE/.venv_kraken/bin/python -I -m linedet.curve_score --arm $ARM --device cpu --workers 6
done