BangguWu / ECANet

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

Unused argument in eca_module.py #63

Closed Zhangfushan19 closed 2 years ago

Zhangfushan19 commented 2 years ago

There's an argument named channel in __init__ function of class: eca_layer, however this argument is no longer called by any line of code, so is it possible that channel is actually required by self.conv as Eq.12 of original paper?

Zhangfushan19 commented 2 years ago

Just realise the same question had been discussed in Issues #24 and other issues. Please refer to these issues for answer.