我checker模型的时候报错onnx runtime,Error message:Failed to load ONNX Runtime library. Set the ONNX Runtime library path to LD_LIBRARY_PATH
装了一个onnxruntime也还是一样报错
2023-02-10 15:14:56,205 INFO log will be stored in /open_explorer/centernet_resnet50/hb_mapper_checker.log
2023-02-10 15:14:56,206 INFO Start hb_mapper…
2023-02-10 15:14:56,206 INFO hbdk version 3.41.5
2023-02-10 15:14:56,206 INFO horizon_nn version 0.15.5
2023-02-10 15:14:56,206 INFO hb_mapper version 1.13.5
2023-02-10 15:14:56,309 INFO Model type: onnx
2023-02-10 15:14:56,309 INFO input names [‘input’]
2023-02-10 15:14:56,309 INFO input shapes {‘input’: [1, 3, 512, 512]}
2023-02-10 15:14:56,410 INFO Begin model checking…
2023-02-10 15:14:56,421 INFO [Fri Feb 10 15:14:56 2023] Start to Horizon NN Model Convert.
2023-02-10 15:14:56,421 INFO Parsing the input parameter:{‘input’: {‘input_shape’: [1, 3, 512, 512]}}
2023-02-10 15:14:56,422 INFO Parsing the hbdk parameter:{‘hbdk_pass_through_params’: ‘–O0’}
2023-02-10 15:14:56,422 INFO HorizonNN version: 0.15.5
2023-02-10 15:14:56,422 INFO HBDK version: 3.41.5
2023-02-10 15:14:56,422 INFO [Fri Feb 10 15:14:56 2023] Start to parse the onnx model.
2023-02-10 15:14:56,521 INFO Input ONNX model infomation:
ONNX IR version: 6
Opset version: [11]
Producer: pytorch1.7
Domain: none
Input name: input, [1, 3, 512, 512]
Output name: output, [1, 20, 128, 128]
Output name: 338, [1, 16384, 4]
2023-02-10 15:14:57,279 INFO [Fri Feb 10 15:14:57 2023] End to parse the onnx model.
2023-02-10 15:14:57,280 INFO Model input names parsed from model: [‘input’]
2023-02-10 15:14:57,418 INFO Saving the original float model: ./.hb_check/original_float_model.onnx.
2023-02-10 15:14:57,419 INFO [Fri Feb 10 15:14:57 2023] Start to optimize the model.
2023-02-10 15:14:57,728 ERROR There is an error in pass:constant_folding. Error message:Failed to load ONNX Runtime library. Set the ONNX Runtime library path to LD_LIBRARY_PATH
2023-02-10 15:14:57,731 ERROR *** ERROR-OCCUR-DURING {horizon_nn.check_onnx} ***
2023-02-10 15:14:57,736 INFO [Fri Feb 10 15:14:57 2023] End to optimize the model.
2023-02-10 15:14:57,736 INFO [Fri Feb 10 15:14:57 2023] End to Horizon NN Model Convert.