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

I don't understand how the batching work in the Mask Generator or the Predictor #101

Open
bely66 opened this issue Dec 8, 2023 · 2 comments

Comments

@bely66
Copy link

bely66 commented Dec 8, 2023

As I can see in the Blog Post:

  1. You're using different batch sizes of 1, 8, 32
  2. After checking the code: it seems that the batching isn't on the image and on the points

Which I don't comprehend why would the points need batching?

@cpuhrsch
Copy link
Contributor

cpuhrsch commented Dec 8, 2023

Hello @bely66 - Thank you for your interest in the project! There's a different number of points per image. See https://github.com/pytorch-labs/segment-anything-fast/blob/main/experiments/README.md#data .

@bely66
Copy link
Author

bely66 commented Dec 9, 2023

Hello @bely66 - Thank you for your interest in the project! There's a different number of points per image. See https://github.com/pytorch-labs/segment-anything-fast/blob/main/experiments/README.md#data .

@cpuhrsch thank you for the timely reply

The documentation doesn't mention anything about batching or how it works

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