-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed Loading Language/Cannot find LSTM-specific dictionaries #155
Comments
Check the timestamps and file sizes. The larger and later file will be your traineddata file. |
Although the WORDLIST_FILE/NUMBERS_FILE/PUNC_FILE are Optional in makefile, traineddata can also contain information on punctuation, word lists etc when training. If lack of these files ,the training traineddata will give this error when called.
3.1 Find the WORDLIST_FILE/NUMBERS_FILE/PUNC_FILE in the makefile, and change them to:
3.2 Suppose your base traineddata is eng.traineddata or your language is english. 3.3 make training again. @Shreeshrii In tesstrain, the default path of the above WORDLIST_FILE/NUMBERS_FILE/PUNC_FILE is $ (OUTPUT_DIR) = data / $ (MODEL_NAME), and all files in this path are automatically generated during the training process. If the variable START_MODEL is not assigned, the makefile will not generate any related files under this path; If the variable START_MODEL has been assigned, the foo.lstm-number-dawg、foo.lstm-punc-dawg、foo.lstm-word-dawg and so on will be produced in data / $ (MODEL_NAME). But they are not the right files the traineddata needed, the traineddata need the .wordlist/.numbers/.punc files. So there may be a bug in in tesstrain/makefile Am I right Please? |
@TheSYNcoder Please move It is save to ignore the message |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have been training a sample model
TESS
usingtesstrain
and the training went fine .However after training when i move the
/data/TESS/TESS.traineddata
to/usr/local/share
and runtesseract image.tif out -l TESS
I get the following error
On the other hand , when i move the
/data/TESS.traineddata
it gives me the following error on running the same command :Am i doing something wrong after the training ,can anyone please help , if it may help , here's my tesseract version
The text was updated successfully, but these errors were encountered: