Skip to content

ZERO_SHOT_WEIGHT FOR TEXT #16

Description

@nonoevil

'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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions