-
Notifications
You must be signed in to change notification settings - Fork 8
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
how can I observe the change of gamma in the attention block? #1
Comments
Thanks for your comment. |
@kiyohiro8 Yes, I want to draw a curve of the gamma coefficient in a specific layer during the training process. |
Another problem , my code is easy to out of memory, it did not work when I try to reduce the channel number to 1/8. |
|
Thanks for your reply. |
Yes. The memory consumption of Self-Attention layer is more affected by height and width of feature map than channels. And I thought that |
I added some code to get the gamma coefficient in Self-Attention layers. Please check line 130-132 in SAGAN.py. |
@kiyohiro8 Thanks for your help! |
Thanks for sharing your code!
I want to observe how the gamma coefficient change in the network, but I got some problem with keras, can you give me some advice?
The text was updated successfully, but these errors were encountered: