Hi everyone,
I’m converting a finetuned bert model from huggingface to onnx (following this post 1).
Transformers version: 4.10.2
When I run this on a terminal
python -m transformers.onnx --model=/path/to/checkpoint output=/tmp
I get this error;
 line 143, in validate_model_outputs
    from onnxruntime import InferenceSession, SessionOptions
ModuleNotFoundError: No module named 'onnxruntime

’
I tried installing onnxruntime-tools but I still get the same error.
Any ideas?