cfzd / FcaNet

FcaNet: Frequency Channel Attention Networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

通道切分

opened this issue · comments

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

commented

@wangjunhua-y
实际上这个是通过切分dct_filter实现的,可以看一下这部分代码:

c_part = channel // len(mapper_x)

dct_filter[i * c_part: (i+1)*c_part, t_x, t_y] = self.build_filter(t_x, u_x, tile_size_x) * self.build_filter(t_y, v_y, tile_size_y)

后来看到了,谢谢您!