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

image size #14

Open
9Cirno9 opened this issue Sep 20, 2024 · 2 comments
Open

image size #14

9Cirno9 opened this issue Sep 20, 2024 · 2 comments

Comments

@9Cirno9
Copy link

9Cirno9 commented Sep 20, 2024

前辈您好,非常感谢您对这个优秀工作做出的贡献!
请问关于读入图像size = 352是怎么确定的?我如果想调大image_size的话,SAM2-UNet模型构建的地方需要做更改吗?

@xiongxyowo
Copy link
Collaborator

The input size generally depends on the compared methods. For example, the common size is 256 or 384 for the polyp segmentation task. You can also try using a larger size such as 1024. Note that higher resolutions introduce greater computational overhead and do not guarantee an increase in accuracy.

@xiongxyowo
Copy link
Collaborator

In fact, the standard U-Net Decoder is not efficient at processing high resolution images. You can try replacing the SAM2-UNet decoder with some classic efficient design, such as BiSeNet.

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