Is the eval_listfile parameter used by lstmtraining?

16 views
Skip to first unread message

max.f...@plangrid.com

unread,
Feb 27, 2019, 12:40:47 AM2/27/19
to tesseract-ocr
When I run lstmtraining as 

  /usr/bin/lstmtraining \
    --debug_interval 0  \
    --traineddata /usr/share/tesseract-ocr/4.00/tessdata/eng.traineddata \
    --continue_from /output/eng.lstm \
    --net_spec '[1,36,0,1 Ct3,3,16 Mp3,3 Lfys48 Lfx96 Lrx96 Lfx256 O1c111]' \
    --model_output /output/trained \
    --learning_rate 20e-4 \
    --train_listfile /input/train.files \
    --eval_listfile /input/eval.files \
    --max_iterations 5000


I'm only getting training error displayed in the stdout log eg:

At iteration 268/300/337, Mean rms=3.577%, delta=21.465%, char train=87.195%, word train=81.204%, skip ratio=12.333%,
New best char error = 87.195 wrote checkpoint.

Is the eval_listfile actually used for anything? I'm hoping to automatically perform model evaluation (ideally with early stopping) as part of the training process (i.e. without calling lstmeval).
Reply all
Reply to author
Forward
0 new messages