Closed sindhurk closed 4 years ago
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.
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?
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?