pytorch-struct
pytorch-struct copied to clipboard
[Question] How to apply pytorch-struct for 2 dimensional data?
I could find examples of pytorch struct usage for 1d sequence data like text or video frame. But I'm trying to parse tables structure in pdf documents.
Could you provide some hints where to start?
Do you have a paper reference? I don't know much about 2d parsing, but we could add something.
Hi Here is an example of 2D-CFG https://hal.archives-ouvertes.fr/hal-00861080/document
Here is example of table structure recognition using CRF https://people.cs.umass.edu/~mccallum/papers/crftable-sigir2003.pdf
neat, I'll take a look. I think the bottom paper is just a standard 1d CRF, but the top paper looks like it has special 2d grammars.