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

请问,yolov8-seg多batch推理时,只有batch中第一个样本有结果,其余样本没有结果,是什么原因? #1587

Open
zwb170010 opened this issue Oct 15, 2024 · 9 comments
Labels
wontfix This will not be worked on

Comments

@zwb170010
Copy link

微信图片_20241015173015
@wang-xinyu
Copy link
Owner

@lindsayshuo 帮忙看看?

@zwb170010
Copy link
Author

请问,有排查出问题嘛?

@lindsayshuo 帮忙看看?

@lindsayshuo
Copy link
Contributor

lindsayshuo commented Oct 22, 2024

应该是后处理的问题,我测试了其他模型都没问题,排除plugin,可以看下分割的cpp代码

@zwb170010
Copy link
Author

应该是后处理的问题,我测试了其他模型都没问题,排除plugin,可以看下分割的cpp代码
源码,我这边未进行改动,只是增加了res.size()的打印信息,可以看到一批batch样本中,除第一个外的后续样本大小都是0。

@zwb170010
Copy link
Author

已解决,结构体内存空间大小问题,导致结果地址访问不对。
lQLPJxamyTt03bfNAhfNBOCw9e73IzMaq-8G_lucSJESAA_1248_535

@lindsayshuo
Copy link
Contributor

已解决,结构体内存空间大小问题,导致结果地址访问不对。 lQLPJxamyTt03bfNAhfNBOCw9e73IzMaq-8G_lucSJESAA_1248_535

最新的代码已经是这样了,但是我刚试了还是不行的,你确定吗

@zwb170010
Copy link
Author

已解决,结构体内存空间大小问题,导致结果地址访问不对。 lQLPJxamyTt03bfNAhfNBOCw9e73IzMaq-8G_lucSJESAA_1248_535

最新的代码已经是这样了,但是我刚试了还是不行的,你确定吗

我这边测了没问题

@tksezawa
Copy link

tksezawa commented Nov 8, 2024

yolo11_det.cpp 存在同様的問題。batch样本中,除第一个外后续样本都是0。

Copy link

stale bot commented Jan 10, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants