使用NCNN在PC端部署PaddleOCR,onnxsim报错

问题遇到的现象和发生背景

使用paddle2onnx转换模型后,dynamic size报错,也使用了代码对onnx模型输入尺寸进行更改,但是报错相同

RuntimeError: 
The shape of input "x" has dynamic size "[-1, 3, 32, 100]", please determine the input size manually by "--dynamic-input-shape --input-shape xxx" or "--input-shape xxx". Run "python3 -m onnxsim -h" for details

我使用补充onnx的python推理代码验证的时候,也提示了尺寸不对

onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: 
[ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Got invalid dimensions for input: x for the following indices
 index: 2 Got: 864 Expected: 960
 index: 3 Got: 640 Expected: 960
 Please fix either the inputs or the model.

onnx模型输入尺寸的“?”是不是要修改?
可以教一下我吗