Skip to content

Can not predict on the Centos 7 platform #97

Open

Description

@z5229889frankwht

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]
`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions