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

Question about the channel selection in SAM #7

Closed
wangtong627 opened this issue Feb 14, 2023 · 2 comments
Closed

Question about the channel selection in SAM #7

wangtong627 opened this issue Feb 14, 2023 · 2 comments

Comments

@wangtong627
Copy link

Hello, I notice this fantastic work, and have the following question:
In SAM, this work applies "a Softmax function on the channel dimension of T2 and chooses the second channel as the attention map". I wonder why choose the second channel.
I have already read the related paper "Edge-aware graph representation learning and reasoning for face parsing", but still have no idea about it. I would appreciate it if you could give me an answer!
Best regard

@dongbo811
Copy link
Collaborator

@wangtong627
Thanks for your issue. 1) This is the result of our parameter fine-tuning. You can also choose other channels, but you need to ensure that the parameters of the selected channel are updated. 2) Meanwhile, we refer to previous research work (Edge-aware Graph Representation Learning and Reasoning for Face Parsing, ECCV2020).

Other channel is also feasible if we only update the weight of the selected channel.

@wangtong627
Copy link
Author

Thank you for your reply!

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