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

ppyoloe-SOD 去后处理转onnx精度不对齐 #9277

Open
3 tasks done
WindLWQ opened this issue Jan 13, 2025 · 3 comments
Open
3 tasks done

ppyoloe-SOD 去后处理转onnx精度不对齐 #9277

WindLWQ opened this issue Jan 13, 2025 · 3 comments
Assignees

Comments

@WindLWQ
Copy link

WindLWQ commented Jan 13, 2025

问题确认 Search before asking

  • 我已经查询历史issue,没有发现相似的bug。I have searched the issues and found no similar bug report.

Bug组件 Bug Component

No response

Bug描述 Describe the Bug

在将动态图模型转为静态图模型时使用exclude_nms=True,然后使用paddle2onnx将pdmode模型转为onnx。固定输入后,对比pdmodel与onnx模型的推理结果,精度差异较大。

Input shape: (1, 3, 640, 640) mean: 0.28469935 max: 2.6399999 min:  -2.117904
Paddle output0 shape: (1, 8400, 5) mean: 255.8405 max: 893.85974 min:  -283.3754
Onnx output0 shape: (1, 8400, 5) mean: 255.84058 max: 893.91284 min:  -283.38022
Output0 mean cosine distance:  -7.209324e-09 mean euclidean distance 0.014979004

静态图模型及onnx模型
通过百度网盘分享的文件:ppyoloe_crn_l_80e_sliced_smoke_640_...
链接:https://pan.baidu.com/s/1_JUhtH_oUPZEwJv1DOlFng
提取码:f9wz

paddle2onnx库那边也提了issue,但似乎很久没人回复了

复现环境 Environment

paddle2onnx 1.3.1
paddlepaddle 2.6.2

Bug描述确认 Bug description confirmation

  • 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.

是否愿意提交PR? Are you willing to submit a PR?

  • 我愿意提交PR!I'd like to help by submitting a PR!
@TingquanGao TingquanGao self-assigned this Jan 13, 2025
@TingquanGao
Copy link
Collaborator

目前,PaddleX项目正在建设paddle2onnx相关功能,欢迎关注:http://github.com/paddlepaddle/paddlex

@WindLWQ
Copy link
Author

WindLWQ commented Feb 5, 2025

目前,PaddleX项目正在建设paddle2onnx相关功能,欢迎关注:http://github.com/paddlepaddle/paddlex

是否可以理解为,paddle2onnx库后续不会更新,相关功能均转移到PaddleX?

@TingquanGao
Copy link
Collaborator

paddle2onnx在维护的,计划在近期发布新版本,同时paddlex也会基于paddle2onnx支持相关功能,可以关注下~

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

No branches or pull requests

3 participants