Skip to content

How to convert FUNSD to XFUN format? #9

@yang0369

Description

@yang0369

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions