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

About channel attention #8

Open
SeHongPark-96 opened this issue May 19, 2023 · 0 comments
Open

About channel attention #8

SeHongPark-96 opened this issue May 19, 2023 · 0 comments

Comments

@SeHongPark-96
Copy link

Thanks for the well explained paper and code.
I have a question about channel attention part.

img_vec = nn.Softmax(dim=1)(img_vec) * img_vec.shape[1]

Is there a particular reason why you multiplied img_vec.shape[1] with the Softmax value?

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