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

Token label matching in layoutlmv3 inference

Open vidya-chandran opened this issue 1 year ago • 0 comments

@NielsRogge Hi can you help me on how to find a mapping between the predicted labels and tokens(words). I have got true boxes and true predictions. I also need which all words belong to each of the labels. I tried extracting the words within bounding boxes from the inference image, but it gave incorrect words (may be problem with the technique I used). Please give an explaination on this. Many thanks in advance

vidya-chandran avatar Jan 23 '24 04:01 vidya-chandran