Skip to content

Attention Maps Visualization #795

@TahaKoleilat

Description

@TahaKoleilat

How can I get the attention weights from an open_clip model? The clip library had the option to allow attention weights by setting need_weigths to True, and then the attention weights are returned in model.encode_image. How can this be done with this library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions