summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2022-10-14 11:38:32 +0100
committerNick White <git@njw.name>2022-10-14 11:38:32 +0100
commit4c8ee6e35a970561555238e719bcb02b1589af32 (patch)
treef86f0b89fbd5622b7d771ecd09ede5ec0e092d10
parent36f298378870881808e545ec88431909e4adcdcc (diff)
improve traintess to not stop making lstmf files when one error is encounteredHEADmaster
-rwxr-xr-xtraintess.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/traintess.sh b/traintess.sh
index 870fef9..0039651 100755
--- a/traintess.sh
+++ b/traintess.sh
@@ -68,7 +68,7 @@ find "$name/gt" "$name/eval" -type f -name '*box' | while read i; do
test -f "$d/$b.tif" && n="$b.tif"
test -f "$d/$b.png" && n="$b.png"
echo "making lstm for $d/$n"
- tesseract "$d/$n" "$d/$b" --psm 6 lstm.train || exit 1
+ tesseract "$d/$n" "$d/$b" --psm 6 lstm.train
done
echo "Listing lstmf files"