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

Kernel Size Discrepancy #46

Open
digantamisra98 opened this issue Dec 24, 2020 · 6 comments
Open

Kernel Size Discrepancy #46

digantamisra98 opened this issue Dec 24, 2020 · 6 comments

Comments

@digantamisra98
Copy link

digantamisra98 commented Dec 24, 2020

As described in this issue along with many others, the codebase uses a fixated kernel size of 3 for each layer in the ResNet-50 architecture as shown in this code file. However, upon calculation using the adaptive kernel size formula it was found that the kernel size values are [3,5,5,5].

  • Although the kernel size formula says the values should be [3,5,5,5] and the codebase has values set to be [3,3,3,3], the authors used [3,5,5,7] in their ECANet-50 which is different from the codebase fixed values and the values obtained from the formula.
  • Additionally, the results for Mask R-CNN which uses the pretrained ResNet-50 backbone has different kernel size [3,3,7,7] than what was originally used to train the ECA-ResNet-50 which was 3,5,5,7. Why was that so?

I would encourage the authors to clarify on the reason behind using different kernel sizes than what is obtained from the kernel size formula presented in the paper which as stated in the paper is used for every experiments.

@digantamisra98
Copy link
Author

Based on my experience of loading the weights for ECANet-50, it seems the authors have set up the kernel sizes manually based on the input tensor size to the bottleneck block and not the ECA layer.

@sayakpaul
Copy link

Exactly what I saw. I did not see the reflection of the adaptive strategy proposed in the paper particularly in the codebase.

@zhaoyanjoin
Copy link

自适应在哪呢,同问.

@hiyongye
Copy link

I also doubt

@hefangnan
Copy link

me too

@mlkk518
Copy link

mlkk518 commented Feb 2, 2024

Me too.

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

6 participants