https://www.jianshu.com/p/476478c17b8e
https://onnxruntime.ai/
renceSession
```
def init_onnx(filename=’model.onnx’):
import onnxruntime
session=onnxruntime.InferenceSession(filename)
return session
nets=init_onnx()
tensor=onnx_preprocess(image_f)
io_binding=nets.io_binding()
io_binding.bind_cpu_input(‘input_name’, tensor)
io_binding.bind_output(‘output_name’)
nets.run_with_iobinding(io_binding)
imgs=io_binding.copy_outputs_to_cpu()[0][0]
<br />
sess=onnxruntime.InferenceSession(args.model)
out_onnx=sess.run(None, {
‘image’: input,
})
```