GenerateU icon indicating copy to clipboard operation
GenerateU copied to clipboard

ZERO_SHOT_WEIGHT FOR TEXT

Open nonoevil opened this issue 1 year ago • 0 comments

'similarity= (100.0 * text_features @ self.lvis_embed.to(self.device)).softmax(dim=-1)'

Why do we need to perform matrix multiplication on text_features and self.lvis_embed? What does self.lvis_embed refer to? I look forward to the author's answer.

nonoevil avatar Dec 20 '24 03:12 nonoevil