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 orepa block extending to 3D #10

Open
leeh43 opened this issue Sep 12, 2022 · 1 comment
Open

About orepa block extending to 3D #10

leeh43 opened this issue Sep 12, 2022 · 1 comment

Comments

@leeh43
Copy link

leeh43 commented Sep 12, 2022

作者你好,非常喜歡你這篇文章的idea,然後我現在是想extend到3D,但是我沒有太看懂在OREPA function裡的self.fre_init的作用,可以再解釋一下ma? 然後對於prior_tensor,我們能變成3D的嗎?

@JUGGHM
Copy link
Owner

JUGGHM commented Sep 13, 2022

作者你好,非常喜歡你這篇文章的idea,然後我現在是想extend到3D,但是我沒有太看懂在OREPA function裡的self.fre_init的作用,可以再解釋一下ma? 然後對於prior_tensor,我們能變成3D的嗎?

Thank you for your interest Lee! The self.freq_init function aims at generating the basis corresponding to different spatial frequency patterns. This idea comes from the work FcaNet: Frequency Channel Attention Network, where the average pooling layer in the squeeze-and-excitation module is regarded as a low-frequency component calculation step, and that some high-frequency component can also be introduced. This idea could probably be inspired that all discrete signals can be represented by a series of weights on different frequencies, and high-frequency component might be lost when conducting average pooling. In our work, the self.freq_init also tries to generate such patterns, whose formulary expression is listed in the first table of the appendix.

We could also extend the prior tensor into 3D if only we calculate some 3D basis. If you are not familiar with how the frequency transformation works, you could refer to discrete cosine transform, which is a part of the discrete variant of Fourier transformation.

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