ERROR: builtin_op_importers.cpp:3240 In function importUpsample

his @Morganh
I have a.h5 model file which I have converted successfully into onyx file. now I am trying to get art file but after running this command :
!/usr/src/tensorrt/bin/trtexec --explicitBatch --onnx=/path-2-onnx-file/fire_model.onnx --saveEngine=/path-2-save-trt-file/fire_model.trt

I am getting error:

any help?


Could you share the complete log with --verbose enabled with us?

$ /usr/src/tensorrt/bin/trtexec --verbose ...



last logs screenshot.
complete logs are like :
logs.txt (238.0 KB)


There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.


Based on the log, this error is caused by the compatible ONNX format.
It’s expected that the scale parameter in Upsample operation to be a constant.
But it is represented as weights in your file.

Could you change the opset version into 10 to see if it works first?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.