Segment-Everything-Everywhere-All-At-Once icon indicating copy to clipboard operation
Segment-Everything-Everywhere-All-At-Once copied to clipboard

Bug when getting the neg_mask

Open Lewislou opened this issue 1 year ago • 0 comments

image I assum that "x['spatial_query']['rand_shape'].to(self.device) & False)" is to get the reverse map of the input masks. So when the area of the mask is True, it should reture False, otherwise, it return True. So that the neg_mask is representing the background area. But "False & False" is stilling False. Would this a bug? I guess we should use "==" here.

Lewislou avatar Mar 19 '24 05:03 Lewislou