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

Why bias in Q, K, V projection of SpatialSelfAttention? #859

Open
SimeonZhang opened this issue Jun 24, 2024 · 0 comments
Open

Why bias in Q, K, V projection of SpatialSelfAttention? #859

SimeonZhang opened this issue Jun 24, 2024 · 0 comments

Comments

@SimeonZhang
Copy link

class SpatialSelfAttention(nn.Module):

As I understand, other implementations of attention except for SpatialSelfAttention in this module are set with bias=False. Why is it different?

Any explanation will be greatly appreciated.

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