File size: 597 Bytes
24aaa76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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)"