RuntimeError: Failed to parse onnx
Open
@poweiw is already working on this.
Since Nov 12, 2024.
triaged
- Dominant language
- C++
- Stars
- 13.4k
- Forks
- 2.4k
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.