PaddlePaddle / Paddle2ONNX

ONNX Model Exporter for PaddlePaddle
Apache License 2.0
670 stars 157 forks source link

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

Open xdg2016 opened 6 months ago

xdg2016 commented 6 months ago

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

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

更多信息 :

报错截图 image

其他信息

Steph55 commented 3 months ago

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

Steph55 commented 3 months ago

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/Paddle2ONNX.git@v1.0.7. How can we get it?

wangkd0 commented 2 months ago

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