Combine_tessdata command error while training Tesseract4.0

135 views
Skip to first unread message

roberty...@gmail.com

unread,
Jul 24, 2017, 6:20:57 AM7/24/17
to tesseract-ocr
 Hello,

I'm trying to train the Tesseract4.0 following the steps in the tutorial: https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00---Replacing-Top-Layer-Example

But when I execute the command:
mkdir -p ~/tesstutorial/nor_layer
$ combine_tessdata -e ../tessdata/nor.traineddata \
>   ~/tesstutorial/nor_layer/nor.lstm

An error message is given by the system, which is shown as following: Not extracting /home/robert/tesstutorial/nor_layer/nor.lstm, since this component is not present.

Why do I receive this error? The message in the tutorial shows: "Wrote /home/shree/tesstutorial/nor_layer/nor.lstm"  represents nor.lstm will be written.
But why the system hint the nor.lstm file not present? Can you help me... (Thanks)

ShreeDevi Kumar

unread,
Jul 24, 2017, 7:59:20 AM7/24/17
to tesser...@googlegroups.com
Is your traineddata file present at  ../tessdata/nor.traineddata?
Is it 4.00 version?

ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

--
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 tesseract-ocr+unsubscribe@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/a867b49d-7535-4260-b1b5-a45ffb533394%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

roberty...@gmail.com

unread,
Jul 25, 2017, 2:58:34 AM7/25/17
to tesseract-ocr
I forgot the nor.traineddata. Thanks for helpness.

在 2017年7月24日星期一 UTC+8下午7:59:20,shree写道:
Is your traineddata file present at  ../tessdata/nor.traineddata?
Is it 4.00 version?

ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

On Mon, Jul 24, 2017 at 1:47 PM, <roberty...@gmail.com> wrote:
 Hello,

I'm trying to train the Tesseract4.0 following the steps in the tutorial: https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00---Replacing-Top-Layer-Example

But when I execute the command:
mkdir -p ~/tesstutorial/nor_layer
$ combine_tessdata -e ../tessdata/nor.traineddata \
>   ~/tesstutorial/nor_layer/nor.lstm

An error message is given by the system, which is shown as following: Not extracting /home/robert/tesstutorial/nor_layer/nor.lstm, since this component is not present.

Why do I receive this error? The message in the tutorial shows: "Wrote /home/shree/tesstutorial/nor_layer/nor.lstm"  represents nor.lstm will be written.
But why the system hint the nor.lstm file not present? Can you help me... (Thanks)

--
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 tesseract-oc...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages