TensorRT icon indicating copy to clipboard operation
TensorRT copied to clipboard

Invalid node error when generating model engine using trtexec for onnx model "ESS DNN stereo disparity" from NGC catalog

Open arvindrk2 opened this issue 4 months ago • 4 comments

I am trying to generate the model engine from the "ESS DNN stereo disparity" onnx file on my jetson orin nano using trtexec (and tensorrt10.3.0). I am using the model version v4.1.0_onnx. But I keep running into the error shown below. Can someone help me understand why I am running into this and how I can fix it?

[06/13/2025-19:41:36] [E] [TRT] parsers/onnx/ModelImporter.cpp:961: While parsing node number 267 [Conv -> "/model/prediction/layers/layers.0/Conv_output_0"]: [06/13/2025-19:41:36] [E] [TRT] parsers/onnx/ModelImporter.cpp:964: --- Begin node --- input: "/model/prediction/Reshape_output_0" input: "model.prediction.layers.0.weight" input: "model.prediction.layers.0.bias" output: "/model/prediction/layers/layers.0/Conv_output_0" name: "/model/prediction/layers/layers.0/Conv" op_type: "Conv" attribute { name: "dilations" ints: 1 type: INTS } attribute { name: "group" i: 1 type: INT } attribute { name: "kernel_shape" ints: 1 type: INTS } attribute { name: "pads" ints: 0 ints: 0 type: INTS } attribute { name: "strides" ints: 1 type: INTS } [06/13/2025-19:41:36] [E] [TRT] parsers/onnx/ModelImporter.cpp:965: --- End node --- [06/13/2025-19:41:36] [E] [TRT] parsers/onnx/ModelImporter.cpp:967: ERROR: parsers/onnx/ModelImporter.cpp:202 In function parseNode: [6] Invalid Node - /model/prediction/layers/layers.0/Conv [06/13/2025-19:41:36] [E] Failed to parse onnx file [06/13/2025-19:41:36] [I] Finished parsing network model. Parse time: 0.39815 [06/13/2025-19:41:36] [E] Parsing model failed [06/13/2025-19:41:36] [E] Failed to create engine from model or file. [06/13/2025-19:41:36] [E] Engine set up failed

arvindrk2 avatar Jun 14 '25 14:06 arvindrk2