-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PaddleOCR slim export model #12074
Comments
The quantitative export will quantize or prune the model parameters, making the model smaller. What is the specific error in question 4 ? |
我也是 编译之后还是存在找不到参数paddle2onnx: error: unrecognized arguments: --input_shape_dict={'x':[-1,3,-1,-1]} |
I get same error about unrecognized arguments on
|
The real problem is the documentation being out of date. The To summarise the following steps worked for me for converting the Japanese text model. Install Paddle2ONNX.
Convert to ONNX.
Change the Input shape parameters.
|
您好,问题超过一周未回复将关闭。如有问题可重开issue. |
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
I download inference_model frommodel_list and choose the ch_PP-OCRv3-det_slim ,then I want to convert to onnx model use cmd like this:
it give me an error paddle2onnx: error: unrecognized arguments: --input_shape_dict={'x':[-1,3,-1,-1]},so I remove input_shape_dict ,so lots of toturial about paddle, give me the --input_shape_dict, so it remove it now?
so I remove the --input_shape_dict of course it will give me an error like this:
I konw because it convert to inference model without onnx_format = True, so I Download the trained_model to get the best_accuracy.pdparams, so I make onnx_format=True and
2.8M why?
The text was updated successfully, but these errors were encountered: