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

bad result on test image #154

Open Liufeiran123 opened 10 months ago

Liufeiran123 commented 10 months ago

on a test image . 1

then ,using pretrained model and run command as below.

python inference.py --mode recognize --structure_config_path structure_config.json --structure_model_path /home/koo/桌面/po/TATR-v1.1-All-msft.pth --structure_device cpu --image_dir /home/koo/桌面/pic/ --out_dir ./output -o -z -l -m -c -v

and get bad result table from html code .

how to resolve this problem?

wangz1200 commented 10 months ago

have solved?

Liufeiran123 commented 10 months ago

@wangz1200 no solved

wangz1200 commented 10 months ago

不得不重新标注进行再训练

NielsRogge commented 10 months ago

Hi,

Could you try #158

wangz1200 commented 10 months ago

Hi,

Could you try #158

thanks ^-^

stefiane commented 6 months ago

on a test image . 1

then ,using pretrained model and run command as below.

python inference.py --mode recognize --structure_config_path structure_config.json --structure_model_path /home/koo/桌面/po/TATR-v1.1-All-msft.pth --structure_device cpu --image_dir /home/koo/桌面/pic/ --out_dir ./output -o -z -l -m -c -v

and get bad result table from html code .

how to resolve this problem?

same error