BangguWu / ECANet

Code for ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks
MIT License
1.28k stars 198 forks source link

Kernel Size Discrepancy #46

Open digantamisra98 opened 3 years ago

digantamisra98 commented 3 years ago

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].

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 commented 3 years ago

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 commented 3 years ago

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

zhaoyanjoin commented 3 years ago

自适应在哪呢,同问.

hiyongye commented 1 year ago

I also doubt

hefangnan commented 1 year ago

me too

mlkk518 commented 10 months ago

Me too.