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

batched inference and feature extraction for point prompts #257

Open
ysig opened this issue Nov 20, 2024 · 0 comments
Open

batched inference and feature extraction for point prompts #257

ysig opened this issue Nov 20, 2024 · 0 comments

Comments

@ysig
Copy link

ysig commented Nov 20, 2024

Hi,

Thank you for this great work. I have a question:
Given a batched input x: B,3,H,W, what is the best way to:

a) batch preprocess the images (so that you can offload this to a dataloader)
b) do a batch segmentation given a prompt: B, K, 2 and label: B, K, 2
c) extract both the mask and the features of the mask (can be an average) for the resulting segmentation?

Thank you,

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

1 participant