model.zip (333.0 KB)
That’s my model above, please help me take a look.
This model should work, I’ve run it with onnxruntime and no issues.
Also, I didn’t use other plugins. main.zip (1.2 KB)
That’s my procedure above which I used to thransform onnx model to trt engine with C++. @AakankshaS
I have solved this problem with adding these codes:
explicit_batch = 1 << (int)(trt.NetworkDefinitionCreationFlag.EXPLICIT_BATCH)
with trt.Builder(TRT_LOGGER) as builder, builder.create_network(explicit_batch) as network, trt.OnnxParser(network,
TRT_LOGGER) as parser: