PyTorch-Onnx-Tensorrt
PyTorch-Onnx-Tensorrt copied to clipboard
module 'onnxruntime' has no attribute 'InferenceSession'
I use pip install onnxruntime-gpu
, and I get this error:
module 'onnxruntime' has no attribute 'InferenceSession'
when I use:
sess = onnxruntime.InferenceSession(model_path)
My onnxruntime version was '0.5.0'
What is your version?