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

Can not predict on the Centos 7 platform #97

Open
z5229889frankwht opened this issue Dec 13, 2021 · 0 comments
Open

Can not predict on the Centos 7 platform #97

z5229889frankwht opened this issue Dec 13, 2021 · 0 comments

Comments

@z5229889frankwht
Copy link

Here are the results. I'm wondering the reason why can not predict the file.
And I cannot find Tesseract.exe in Centos7 .......

`Restoring total_amount parser ./models/parsers/amount/best...
Restoring all ./models/invoicenet/total_amount/best...
Exception: invoice/test.pdf : tesseract is not installed or it's not in your PATH. See README file for more information.

Filename: test.json
predictions are {'total_amount': []}.
idx is 0.
field is total_amount
Traceback (most recent call last):
File "predict.py", line 101, in
main()
File "predict.py", line 92, in main
labels[field] = predictions[field][idx]
`

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

1 participant