turkic-ocr-code / scripts /r5_loopguard /lg_seal_scan2.sbatch
treoa's picture
Release 1
24aaa76
Raw History Blame Contribute Delete
597 Bytes
#!/bin/bash
#SBATCH --job-name=lg_seal_scan2
#SBATCH --partition=ZEN4
#SBATCH --cpus-per-task=16
#SBATCH --mem=32G
#SBATCH --time=01:00:00
#SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out
# LOOPGUARD seal check: ids, paths and counts of held-out TEST page ids in DATA (no label or prediction text is printed).
set -u
CODE=/path/to/TURKIC_OCR_CODE
D=/path/to/TURKIC_OCR_DATA
OUT=$D/outputs/r6_loopguard/seal
mkdir -p $OUT
hostname; date -u
$CODE/.venv/bin/python -I $CODE/scripts/r5_loopguard/lg_seal_scan2.py --root $D --out $OUT/seal_scan2.json --workers 16
echo "=== exit $? $(date -u)"