PaddlePaddle / Paddle2ONNX

ONNX Model Exporter for PaddlePaddle
Apache License 2.0
717 stars 166 forks source link

paddle2tensorrt "Cannot infer squeeze dimensions from a dynamic shape! Please re-export your model with the Squeeze axes input set." #1161

Open mahesh11T opened 11 months ago

mahesh11T commented 11 months ago

image https://github.com/NVIDIA/TensorRT/issues/2849 https://github.com/PaddlePaddle/Paddle2ONNX/issues/411

I am trying to convert / use onnx model to tensorrt, can I get help with this? [8] Assertion failed: !isDynamic(shape) && "Cannot infer squeeze dimensions from a dynamic shape! Please re-export your model with the Squeeze axes input set."

Ochre-amber commented 1 month ago

我在faster rcnn转tensorrt遇到了同样的问题,请问有解决方法了吗?