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

How to convert FUNSD to XFUN format? #9

Open
yang0369 opened this issue May 17, 2023 · 0 comments
Open

How to convert FUNSD to XFUN format? #9

yang0369 opened this issue May 17, 2023 · 0 comments

Comments

@yang0369
Copy link

yang0369 commented May 17, 2023

Dear all, I am trying to train layoutLM Relation extraction model with FUNSD, as the RE model was pre-trained on XFUN, so I need to convert FUNSD to XFUN format, thus I would like to ask if anyone has any idea on how to convert the FUNSD to XFUN? Very much appreciated your help!

Ps: I have tried to build the conversion script, but am a bit confused with the derivation of word level bboxes, in another word, how can we derive the word level bboxes based on FUNSD? (because the texts in FUNSD is entity level instead of word level)

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

1 participant