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

Difference between refs and ref_values #7

Open
OctoNinja9 opened this issue Jan 24, 2024 · 1 comment
Open

Difference between refs and ref_values #7

OctoNinja9 opened this issue Jan 24, 2024 · 1 comment

Comments

@OctoNinja9
Copy link

Dear author,

I do not understand the difference between refs and ref_values. Can you tell me their difference?

ref, ref_value, mask = lang_dict_features["refs"], lang_dict_features["ref_values"], lang_dict_features["masks"]

@wjn922
Copy link
Collaborator

wjn922 commented Mar 12, 2024

In the QKV attention, ref plays the role of K and ref_values is V.

For the RVOS task, ref and ref_values are the same which come from the text features.
For the VOS task, ref is from image features and ref_values is from image+mask features.

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

2 participants