You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when your batch size is N>1 your masks become shape (N, 3, H, W). This makes it difficult to use the predictor interface where the batch size is arbitrary (and user-specified).
The text was updated successfully, but these errors were encountered:
When performing batch inference using
SAM2ImagePredictor
, if you pass a singleton batch of points/labels, you get masks of shape (3, H,W):However, when your batch size is N>1 your masks become shape (N, 3, H, W). This makes it difficult to use the predictor interface where the batch size is arbitrary (and user-specified).
The text was updated successfully, but these errors were encountered: