RuntimeError: Failed to parse onnx
parser = trt.OnnxParser(network, trt_logger) parse_valid = parser.parse_from_file(onnx_model)
When I used the above two lines of code to parse the onnx model path with Chinese, I kept reporting error parsing failures. I would like to ask is this because tensorrt does not support the parsing of non-ASCII characters?
TensorRT should not have problems parsing models with non-ASCII paths, so it's likely that errors exist in the model. Feel free to share the model if possible so that we could provide further help 😄
end2end.zip Thank you very much for your answer! This is the onnx model I converted using deploy.py in mmdeploy. When the file path contains Chinese, there will be an error when parsed using tensorrt. Looking forward to your reply!