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

基于c++版本的推理结果bbox错误问题 #9232

Open
3 tasks done
cerasumat opened this issue Dec 5, 2024 · 1 comment
Open
3 tasks done

基于c++版本的推理结果bbox错误问题 #9232

cerasumat opened this issue Dec 5, 2024 · 1 comment
Assignees

Comments

@cerasumat
Copy link

cerasumat commented Dec 5, 2024

问题确认 Search before asking

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

Bug组件 Bug Component

Inference, DataProcess

Bug描述 Describe the Bug

使用2.6/3.0版本的paddle inference预编译库,官方yolov8预训练模型,对示例图片进行推理,输出的bbox总是有很多不正常的结果(均出现在左下角,面积很小但置信度很高),如下贴图。
该问题与模型无关,我使用自己训练的模型(python推理没这个问题),对其它图片预测,也是在左下角区域出现很多错误的置信度极高的bbox。
请问可能是什么原因导致?
错误的bbox截图如下:
image
image

复现环境 Environment

OS:Ubuntu22.04
PaddleInference: 2.6.1/3.0
GCC: 11
OpenCV: 4
    CPU推理,开了mklnn

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!
@cerasumat
Copy link
Author

cerasumat commented Dec 5, 2024

补充下,不是绘图的问题。
在Predict方法里,从predictor_->Run();预测之后,开始postprocess,在如下计算rect坐标前数据就已经不对了。
image

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