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

self.inter_channels in non_local.py #7

Closed
TongYoungG opened this issue Jul 20, 2020 · 2 comments
Closed

self.inter_channels in non_local.py #7

TongYoungG opened this issue Jul 20, 2020 · 2 comments

Comments

@TongYoungG
Copy link

作者,你好!

我发现 non_local.py 中的 self.inter_channels 的计算方式如下:
288RI Q5P Q@7_3@2VEM9GK

但是原论文中应该是:self.inter_channels = in_channels // reduc_ratio

请问这是特意这样设置的吗,如果是的话,是基于什么样的理由呢?

@Hellomodo
Copy link
Collaborator

这里是我无意中将inter_channels设置成了1。
你可以按原文设置成self.inter_channels = in_channels // reduc_ratio,提高一些计算量,应该也能取得更好的效果,

@TongYoungG
Copy link
Author

好的,谢谢!

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