-
Notifications
You must be signed in to change notification settings - Fork 46
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的mask位置偏移该如何解决? #4
Comments
似乎是 draw_mask 函数在映射 mask 时出现的位置偏差,但奇怪的是我这边官方的 model 测试下来没有问题,你模型的输入是 640x640 吗,我是按照 640x640 来计算仿射变换矩阵的 |
可能是 draw_mask 的实现存在问题,你有尝试过使用我提供的 Python 代码推理吗,是否存在同样的 mask 位置偏移问题呢 |
如果是单通道处理的话你可能需要修改下预处理 warpAffine 部分,因为 C++ 上预处理似乎是按照 3 通道处理的;此外看下灰度图单通道下后处理部分是否有任何差异,如果有变化也需要进行相应的修改 |
请问有计划增加Yolov8-obb C++推理嘛? |
暂时没计划 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,我在使用Yolo-seg C++推理时画出来的mask位置有偏移,并且mask没有在bbox框内,这该如何解决?
The text was updated successfully, but these errors were encountered: