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

Error after iteration training #40

Closed
irann93 opened this issue Nov 13, 2018 · 2 comments
Closed

Error after iteration training #40

irann93 opened this issue Nov 13, 2018 · 2 comments

Comments

@irann93
Copy link

irann93 commented Nov 13, 2018

os : win10
python : 3.6
train on cpu
tensorflow version: 1.12.0
install through 'pip install calamari'

I tried to train my own model using the following command :
"calamari-train --files img1.png --max_iters=10" and the following error occured.

Total time 15.09201717376709s for 9 iterations.
2018-11-13 11:55:35.169246: W tensorflow/core/kernels/data/generator_dataset_op.cc:78] Error occurred when finalizing GeneratorDataset iterator: Failed precondition: Python interpreter state is not initialized. The process may be terminated.
[[{{node PyFunc}} = PyFuncTin=[DT_INT64], Tout=[DT_INT64], token="pyfunc_2"]]

@ChWick
Copy link
Member

ChWick commented Nov 13, 2018

Your model trained successfully, however the 'shutdown' of Calamari causes an error. I will check this, thanks for you report.

@ChWick
Copy link
Member

ChWick commented Nov 13, 2018

Is fixed with the current upgrade (0.2.2):
pip install --upgrade calamari-ocr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants