turkic-ocr-code / scripts /r5_testpass2 /tp2_per_language.sbatch
treoa's picture
Release 1
24aaa76
Raw History Blame Contribute Delete
527 Bytes
#!/bin/bash
#SBATCH --job-name=tp2_perlang
#SBATCH --partition=ZEN4
#SBATCH --cpus-per-task=2
#SBATCH --mem=8G
#SBATCH --time=00:20:00
#SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out
# Test pass 2: per-language table from existing score files only (no model).
set -u
CODE=/path/to/TURKIC_OCR_CODE
T=/path/to/TURKIC_OCR_DATA/outputs/r5/testpass2
hostname; date -u
$CODE/.venv_kraken/bin/python -I $CODE/scripts/r5_testpass2/tp2_per_language.py --root $T --out $T/per_language_cluster.json
echo "=== exit $? $(date -u)"