cfzd / FcaNet

FcaNet: Frequency Channel Attention Networks
MIT License
508 stars 100 forks source link

通道切分 #22

Open ghost opened 3 years ago

ghost commented 3 years ago

您好,看了您的代码,但是没有找到通道切分是在哪里进行的,方便赐教一下吗?

cfzd commented 3 years ago

@wangjunhua-y 实际上这个是通过切分dct_filter实现的,可以看一下这部分代码: https://github.com/cfzd/FcaNet/blob/aa5fb63505575bb4e4e094613565379c3f6ada33/model/layer.py#L110 https://github.com/cfzd/FcaNet/blob/aa5fb63505575bb4e4e094613565379c3f6ada33/model/layer.py#L115

ghost commented 3 years ago

后来看到了,谢谢您!