How to implement ECA-NS by PyTorch?
splinter21 opened this issue · comments
Use nn.functional.unfold() and conv1d with inchannel=C, outchannel=C and group=C.
Code for ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks
splinter21 opened this issue · comments
Use nn.functional.unfold() and conv1d with inchannel=C, outchannel=C and group=C.