Closed mht-sharma closed 1 year ago
Hi, this is fixed in https://github.com/huggingface/optimum/pull/1456
I got it with:
!optimum-cli export onnx --task image-to-text --model microsoft/trocr-small-printed trocr-small-printed_onnx/
I got it with:
!optimum-cli export onnx --task image-to-text --model microsoft/trocr-small-printed trocr-small-printed_onnx/
Thats the Task of TrOCR?, i dont find any docs for that, how i can load then to use it only for inferention ?
System Info
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Error:
Expected behavior
Exporting TrOCR to ONNX with past should work.