Can I export any hugging face checkpoint to onnx? If not, how do I go about it
@nielsr I want to export trocr checkpoint to onnx, is it possible.
I tried doing the same with a fine-tuned checkpoint of mine, it gives a KEY ERROR
KeyError: <class 'transformers.models.vision_encoder_decoder.configuration_vision_encoder_decoder.VisionEncoderDecoderConfig'>

When I do the same using “microsoft/trocr-large-printed” checkpoint, I get an exception saying

onnx_export_fail903×479 76.9 KB

Do you know what might I be missing? Is it possible, if not , how do I go about it.