Skip to content

Invalid node error when generating model engine using the script install_ess_models.sh #42

@arvindrk2

Description

@arvindrk2

I am trying to generate the model engine from the onnx file on my jetson orin nano using the install_ess_models.sh script. I am using the model version v4.1.0_onnx. But I keep running into the error shown below. The issue occurs when I try to run trtexec separately in the terminal as well. 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

Metadata

Metadata

Labels

needs infoNeeds more information

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions