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

TrOCR how to predict the image and see the accuracy?

Open win5923 opened this issue 3 years ago • 1 comments

I have already trained a model. I want to predict with a image and see the accuracy with test dataset.Would like to ask do you know how to do? thanks for reading.

win5923 avatar Feb 16 '22 14:02 win5923

Hi,

I have a dedicated notebook for inference with TrOCR: https://github.com/NielsRogge/Transformers-Tutorials/blob/master/TrOCR/Inference_with_TrOCR_%2B_Gradio_demo.ipynb

NielsRogge avatar Feb 16 '22 14:02 NielsRogge