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模型尺寸为1280问题 #129

Open
ASSicat opened this issue Jun 3, 2024 · 1 comment
Open

yolov8-seg模型尺寸为1280问题 #129

ASSicat opened this issue Jun 3, 2024 · 1 comment

Comments

@ASSicat
Copy link

ASSicat commented Jun 3, 2024

我成功复现了您的代码,并输出正确结果。但是我使用自己训练的模型时能够跑通,但是最后输出的结果掩码与原图实际位置不符。我重新训练模型imgsz为640就可以正确出图,1280就不能正确出图,这是什么原因:我设置的参数如下
initParameters.dst_h = 1280;
initParameters.dst_w = 1280;

m_output_seg_w = 320 * 320;
m_output_seg_h = 32;
请问是还需要更改其它参数吗

@dabensongbing
Copy link

我成功复现了您的代码,并输出正确结果。但是我使用自己训练的模型时能够跑通,但是最后输出的结果掩码与原图实际位置不符。我重新训练模型imgsz为640就可以正确出图,1280就不能正确出图,这是什么原因:我设置的参数如下 initParameters.dst_h = 1280; initParameters.dst_w = 1280;

m_output_seg_w = 320 * 320; m_output_seg_h = 32; 请问是还需要更改其它参数吗

你好,请问你解决了吗

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

2 participants