Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to apply pytorch-struct for 2 dimensional data? #126

Open
YuriyPryyma opened this issue Feb 9, 2022 · 4 comments
Open

[Question] How to apply pytorch-struct for 2 dimensional data? #126

YuriyPryyma opened this issue Feb 9, 2022 · 4 comments

Comments

@YuriyPryyma
Copy link

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?

@srush
Copy link
Collaborator

srush commented Feb 9, 2022

Do you have a paper reference? I don't know much about 2d parsing, but we could add something.

@YuriyPryyma
Copy link
Author

Hi
Here is an example of 2D-CFG
https://hal.archives-ouvertes.fr/hal-00861080/document
image

@YuriyPryyma
Copy link
Author

Here is example of table structure recognition using CRF
https://people.cs.umass.edu/~mccallum/papers/crftable-sigir2003.pdf

@srush
Copy link
Collaborator

srush commented Feb 11, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants