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 do inference with LayoutLM? #23

Open
louisabraham opened this issue Jan 28, 2021 · 1 comment
Open

How to do inference with LayoutLM? #23

louisabraham opened this issue Jan 28, 2021 · 1 comment

Comments

@louisabraham
Copy link

louisabraham commented Jan 28, 2021

Hi, I'm trying to use run_seq_labeling.py from https://github.com/microsoft/unilm/tree/master/layoutlm on your data. However, the input format looks different.

Theirs uses _box.txt files that contain all samples.

I also noticed that run_seq_labeling.py adds a label "O" but your labels.txt files already has 13 classes like the pretrained models you provide, which makes me doubt that you used run_seq_labeling.py to train your model. Can you provide your training / evaluation code?

@liminghao1630
Copy link
Collaborator

liminghao1630 commented Apr 16, 2021

Our training code is also based on LayoutLM, so there is no plan to provide it.

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