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

1024x1024 #2

Open
xiangw369 opened this issue Nov 14, 2023 · 1 comment
Open

1024x1024 #2

xiangw369 opened this issue Nov 14, 2023 · 1 comment

Comments

@xiangw369
Copy link

Does this algorithm process 1024x1024 ,no matter what size picture it processes ,Is the output image also that large?

@zhudongwork
Copy link
Owner

Yes, the input size of the model is 10241024. The images were processed using ResizeLongestSide-1024 in the original SAM project. In order to avoid tensorrt's dynamic inference of orig_img_size, the input size is fixed at 10241024. You can resize the output mask result to the original size of the 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

2 participants