Skip to content
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

LSTM:Deserialize failed #2767

Closed
Prashantptnk opened this issue Nov 15, 2019 · 6 comments
Closed

LSTM:Deserialize failed #2767

Prashantptnk opened this issue Nov 15, 2019 · 6 comments
Labels

Comments

@Prashantptnk
Copy link

Ubuntu

  • Tesseract Version: 5.0 Alpha
  • Commit Number:
  • Platform: Ubuntu 18.04

Current Behavior:

When trying to finetune the training I am using
lstmeval --model ~/tesstutorial/engtrain/eng/eng.traineddata --eval_listfile ~/tesstutorial/engeval/eng.training_files.txt --traineddata ~/tesstutorial/engtrain/eng/eng.traineddata

I am getting an error

Loaded 72/72 lines (1-72) of document /home/prashant1/tesstutorial/engeval/eng.Impact_Condensed.exp0.lstmf
Deserialize failed

I tried referring issue #792 but couldn't find helpful.

please let me know what could be the fix.

@Shreeshrii
Copy link
Collaborator

Does the file exist?

@Prashantptnk
Copy link
Author

Prashantptnk commented Nov 16, 2019

Yes, the file eng.Impact_Condensed.exp0.lstmf exists.
lstmf

@Shreeshrii
Copy link
Collaborator

What is the file size? How did you generate it? Did you copy it between different platforms?

@Prashantptnk
Copy link
Author

the file is auto-generated. I have not copied it. The size is around 403.9 kb.

@Shreeshrii
Copy link
Collaborator

Please see https://github.com/Shreeshrii/tess4training/blob/master/4-impact_from_full.log for log from a successful run of tesstutorial from a few months ago. If you follow the instructions then there should be no errors.

@amitdo
Copy link
Collaborator

amitdo commented Jan 12, 2022

Old issue, probably a user error.

@amitdo amitdo closed this as completed Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants