Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency between the paper and the code #6

Open
zmgy107 opened this issue Nov 19, 2024 · 0 comments
Open

Inconsistency between the paper and the code #6

zmgy107 opened this issue Nov 19, 2024 · 0 comments

Comments

@zmgy107
Copy link

zmgy107 commented Nov 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant