Description
When I use migraohx-onnxruntime to do inference, the following error occurs:
root@ce2f83fe55d2:/home/WS-DAN-AMD# python3 test_og.py
2021-02-08 08:58:46.454400130 [E:onnxruntime:, inference_session.cc:1286 operator()] Exception during initialization: /home/onnxruntime/onnxruntime/core/graph/function.cc:160 std::unique_ptronnx::OpSchema onnxruntime::CreateSchema(const onnxruntime::Graph&, const onnxruntime::IndexedSubGraph&) input_arg->Type() != nullptr was false.
Traceback (most recent call last):
File "test_og.py", line 35, in
sess = rt.InferenceSession(r'./ONNX/model_amd_c.onnx',so)
File "/usr/local/lib/python3.6/dist-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 280, in init
self._create_inference_session(providers, provider_options)
File "/usr/local/lib/python3.6/dist-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 312, in _create_inference_session
sess.initialize_session(providers, provider_options)
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: /home/onnxruntime/onnxruntime/core/graph/function.cc:160 std::unique_ptronnx::OpSchema onnxruntime::CreateSchema(const onnxruntime::Graph&, const onnxruntime::IndexedSubGraph&) input_arg->Type() != nullptr was false.