microsoft / table-transformer

Table Transformer (TATR) is a deep learning model for extracting tables from unstructured documents (PDFs and images). This is also the official repository for the PubTables-1M dataset and GriTS evaluation metric.
MIT License
2.22k stars 247 forks source link

ModuleNotFoundError: No module named 'engine' #73

Closed zanvari closed 1 year ago

zanvari commented 1 year ago

I tried the detection model evaluation code and I get the "from engine import evaluate, train_one_epoch ModuleNotFoundError: No module named 'engine''" error. I wonder how that can be fixed?

nicolalandro commented 1 year ago

I have the same error

nicolalandro commented 1 year ago

I just solved by cd src and run the command here.

Siddhu2502 commented 3 months ago

i am trying to parse pdf pages convert them to images and then detect tables and extract them and i cant just work with command line hence what am i supposed to do even after downloading the package and CDing into the src folder i tried to create a new file and wrote my code yet the same problem

tried to apped sys.path.apped and still did not succeed