Skip to content

why transposing projection matrix twice #92

@xjixzz

Description

@xjixzz

return x@torch.transpose(projection_matrix, 0, 1)

feature = project( feature, torch.load('projection_matrix').cuda().T ).squeeze(0)

The projection_matrix is clip_model.text_projection.weight.data, right? Is it enough to transpose projection matrix once?

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