Skip to content
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

转换成onnx后使用netron可视化尺寸不是-1而是p2o.DynamicDimension.0-5 #1265

Closed
gaowq2017 opened this issue May 28, 2024 · 2 comments

Comments

@gaowq2017
Copy link

请将下面信息填写完整,便于我们快速解决问题,谢谢!

问题描述
使用命令行转换paddle模型到onnx,具体命令行为:paddle2onnx --model_dir E:\PaddleOCR\checkpoint\inference_new --model_filename inference_new.pdmodel --params_filename inference_new.pdiparams --save_file E:\PaddleOCR\checkpoint\inference_new/model.onnx --opset_version 11 --input_shape_dict="{'x':[-1,3,-1,-1]}"
查看paddle2onnx没有input_shape_dict这个参数?还是我使用不对?

  • Paddle2ONNX版本:1.0.6
    -可视化截图如下:
    image
    谢谢!
@Zheng-Bicheng
Copy link
Collaborator

@Zheng-Bicheng
Copy link
Collaborator

修改一下输入shape再使用Paddle2ONNX导出哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants