Transformers-Tutorials icon indicating copy to clipboard operation
Transformers-Tutorials copied to clipboard

True Inference with Layoutlmv3

Open Monta79 opened this issue 10 months ago • 3 comments

I fine-tuned LayoutLMv3 for token classification to extract key entities. I prepared a dataset using LabelStudio to train and test, and it worked well. However, I want to know how I can get a true inference with a new image

Reference: https://medium.com/@shivarama/layoutlmv3-from-zero-to-hero-part-3-16ae58291e9d

Monta79 avatar Apr 10 '24 00:04 Monta79

Great! See this notebook: https://github.com/NielsRogge/Transformers-Tutorials/blob/master/LayoutLMv2/FUNSD/True_inference_with_LayoutLMv2ForTokenClassification_%2B_Gradio_demo.ipynb

NielsRogge avatar Apr 10 '24 08:04 NielsRogge

@NielsRogge the exemple is from test dataset, already labled right?

Monta79 avatar Apr 10 '24 17:04 Monta79

image

tianchiguaixia avatar Sep 25 '24 03:09 tianchiguaixia