AdvancedLiterateMachinery icon indicating copy to clipboard operation
AdvancedLiterateMachinery copied to clipboard

Get table from TSR model

Open Holmes2002 opened this issue 1 year ago • 7 comments

Hello, I would like to ask how to get the board of this model. The other model returns HTML as output which I'm used to converting to docx. Can anyone answer me?

Holmes2002 avatar Jan 04 '24 07:01 Holmes2002

I see the format of each cell in tables in paper and using some methods to reorder them

Holmes2002 avatar Jan 04 '24 08:01 Holmes2002

Does anyone has code for table structure recovery in LORE

Holmes2002 avatar Jan 05 '24 07:01 Holmes2002

Hi, I want to export Lore model to onnx , does anyone solve this problem ?

Holmes2002 avatar Jan 08 '24 07:01 Holmes2002

I change DCN from .DCNv2.dcn_v2 import DCN into from .dcn.modules.deform_conv import ModulatedDeformConvPack as DCN but can't convert ONNX error always

RuntimeError: No Op registered for DCNv2 with domain_version of 9

Holmes2002 avatar Jan 08 '24 10:01 Holmes2002

Does anyone has code for table structure recovery in LORE

Need the same code, does anyone have it ?

vavinash992 avatar Jan 19 '24 06:01 vavinash992

@vavinash992 Hi, You can use Post Processing of LGPMA Table

https://github.com/hikopensource/DAVAR-Lab-OCR/tree/main/davarocr/davar_table/core/post_processing

Use this post processing + get bounding box of cells in LORE

Holmes2002 avatar Jan 20 '24 05:01 Holmes2002

Hi all, The GeoLayoutLM model was exported to ONNX successfully. Please check my code via Link.

If it is useful, please give me 1 ⭐ . Whether it raise error when you try to export it yourself, feel free to discuss with me!!

HungVu307 avatar Mar 01 '24 04:03 HungVu307