NVIDIA / NVIDIA/TensorRT

RuntimeError: Failed to parse onnx

Open
#4,240 2 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.