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

官方模型:ppmatting-hrnet_w18-human_512导出为onnx失败 #1165

Open
xdg2016 opened this issue Dec 15, 2023 · 4 comments
Open

官方模型:ppmatting-hrnet_w18-human_512导出为onnx失败 #1165

xdg2016 opened this issue Dec 15, 2023 · 4 comments
Labels
Bug Something isn't working PaddleSeg stale

Comments

@xdg2016
Copy link

xdg2016 commented Dec 15, 2023

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

问题描述
官方的ppmatting-hrnet_w18-human_512的Inference模型转成onnx时,报pool2d节点错误,无法转换。已经按照建议的做法,导出成静态模型时,指定输出为1,3,512,512,导出onnx成功,但是测试结果无法和paddleinferenece推理结果对齐,抠图结果边缘过渡是锯齿,不是平滑的过渡。请问最新的版本有没有解决这个问题呢(去ppMatting微信交流群问过没人回复)

更多信息 :

  • 用于部署的推理引擎:
    onnxruntime
  • 为什么需要转换为ONNX格式:
    需要使用onnxruntime做推理
  • Paddle2ONNX版本:
    1.0.0rc4
  • 你的联系方式(Email/Wechat/Phone):
    [email protected]

报错截图
image

其他信息

@Zheng-Bicheng Zheng-Bicheng added Bug Something isn't working PaddleSeg labels Feb 27, 2024
@Steph55
Copy link

Steph55 commented Apr 1, 2024

Same problem with pp-humanmatting-resnet34_vd and Paddle2Onnx version paddle2onnx-1.0.6.

@Steph55
Copy link

Steph55 commented Apr 1, 2024

I think the problem has been corrected in the last version (1.0.7), but it is not available in pip install and te following doesn't work: pip install git+https://github.com/PaddlePaddle/[email protected]. How can we get it?

@wangkd0
Copy link

wangkd0 commented Apr 19, 2024

@xdg2016 问题解决了吗,我通过paddle转化成onnx模型后,推测效果也会下降

Copy link

github-actions bot commented Jan 9, 2025

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working PaddleSeg stale
Projects
None yet
Development

No branches or pull requests

4 participants