aim-uofa / AdelaiDet

AdelaiDet is an open source toolbox for multiple instance-level detection and recognition tasks.
https://git.io/AdelaiDet
Other
3.39k stars 652 forks source link

onnx convert to tensorrt error #40

Closed lucasjinreal closed 4 years ago

lucasjinreal commented 4 years ago
While parsing node number 243 [InstanceNormalization -> "615"]:
ERROR: /home/onnx-tensorrt/builtin_op_importers.cpp:1550 In function importInstanceNormalization:
[8] Assertion failed: !isDynamic(tensor_ptr->getDimensions()) && "InstanceNormalization does not support dynamic inputs!
blueardour commented 4 years ago

@jinfagang see newest demo under onnx folder

zhou-frank commented 4 years ago

I have same error with you. How to solve this error?

ThrillerWYY commented 3 years ago

I have same error with you. How to solve this error?

did you solve this error?

zhou-frank commented 3 years ago

not yet

jkjung-avt commented 3 years ago

Referring to https://github.com/onnx/onnx-tensorrt/issues/374#issuecomment-768431357, this is an issue of v7.1.x or earlier versions of TensorRT. It has been fixed since TensorRT 7.2.

I was able to work around this problem for TensorRT 7.1 by compiling a patched version of onnx-tensorrt by myself. Check out Demo #7: MODNet for details.