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

Prediction Using Table Recognition #21

Closed
sindhurk opened this issue Jan 17, 2020 · 0 comments
Closed

Prediction Using Table Recognition #21

sindhurk opened this issue Jan 17, 2020 · 0 comments

Comments

@sindhurk
Copy link

I used the follow command to predict structure of the table :

python translate.py -model model.pt --src_dir './tables/' --src './src_txt.txt' -output pred.txt

and I get the following error:
AssertionError: Cannot use _dir with TextDataReader.

From your previous replies to issues https://github.com/doc-analysis/TableBank/issues/12 and https://github.com/doc-analysis/TableBank/issues/10, its looks that I can test the model by using -tgt (providing a ground truth file)

Can I not only predict on a sample?

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