That's useful to know --- thanks!

If I want to add more training data without waiting for lstmtraining to
stop itself, is this the right way to do it without losing the trained
model so far?

1. ctrl-C on the lstmtraining job
2. generate the *.lstmf files from the new image and box files
3. generate the training and test lists of filenames
4. start lstmtraining again with the same working directory and the new
lists of filenames

Thanks,
Adam





On 23/12/2019 17:10, Shree Devi Kumar wrote:
> You can create traineddata with the --stop-training while lstmtraining
> continues to run.
> 
> If you are using tesstrain makefile then it has a target called
> traineddata which will generate traineddata file for each intermediate
> checkpoint.
> 
> You can stop and start training but I have a feeling that training runs
> longer in that case.
> 
> On Mon, Dec 23, 2019, 17:33 Adam Funk <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Hi,
> 
>     I have an lstmtraining job running without --max_iterations; it's been
>     going for a couple of weeks now (in a docker container in screen on a
>     server that I ssh into).
> 
>     Can I safely use ctrl-C to stop it, use lstmtraining --stop_training
>     (with appropriate settings for --continue_from --traineddata and
>     --model_output) to create a trained model that I can drop into
>     tesseraact somewhere else, and then restart the lstmtraining job?
> 
>     I don't want to lose anything that's been produced so far.
> 
>     Thanks,
>     Adam
> 
>     -- 
>     You received this message because you are subscribed to the Google
>     Groups "tesseract-ocr" group.
>     To unsubscribe from this group and stop receiving emails from it,
>     send an email to [email protected]
>     <mailto:tesseract-ocr%[email protected]>.
>     To view this discussion on the web visit
>     
> https://groups.google.com/d/msgid/tesseract-ocr/8b53685f-6368-6239-726c-3b2e5305fe64%40sheffield.ac.uk.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduWwka7RJ1FG7dGdx_WjTnhVq3h%3DfNDrfC7OhYAY56t_yw%40mail.gmail.com
> <https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduWwka7RJ1FG7dGdx_WjTnhVq3h%3DfNDrfC7OhYAY56t_yw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/75ad6c95-8f46-c744-f7d0-c954de199f1a%40sheffield.ac.uk.

Reply via email to