Skip to content

Inconsistency between the paper and the code #6

@zmgy107

Description

@zmgy107

Hi! I found that the Modality Interaction Task section of the paper says to use visual modality as a query and text modality as key and value, but in the code you provided, in lines 497-499 of the “model_init.py” file, the first input of CrossAttention is 'text_tokens', and the first input of CrossAttention is as query . Is there any error in the provided code?
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions