turkic-ocr-code / scripts /r5_testpass2 /tp2_error_analysis.sbatch
treoa's picture
Release 1
24aaa76
Raw History Blame Contribute Delete
671 Bytes
#!/bin/bash
#SBATCH --job-name=tp2_erran
#SBATCH --partition=ZEN4
#SBATCH --cpus-per-task=4
#SBATCH --mem=16G
#SBATCH --time=01:00:00
#SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out
# Test pass 2: descriptive error analysis of existing predictions (az_localdoc_test, rukopys_test; M1 and M2 label-free). No model runs.
set -u
CODE=/path/to/TURKIC_OCR_CODE
T=/path/to/TURKIC_OCR_DATA/outputs/r5/testpass2
hostname; date -u
if [ ! -f $T/GATE_testpass2_started.txt ]; then echo "REFUSED: gate missing"; exit 3; fi
$CODE/.venv_kraken/bin/python -I $CODE/scripts/r5_testpass2/tp2_error_analysis.py --root $T --out $T/error_analysis.json
echo "=== exit $? $(date -u)"