Comments (2)
@dreamhua82
我不是很明白你的问题,能更详细一点吗?
from fcanet.
Hi, 请问,如果通道不分组,是不是用以下代码就可以?
def get_dct_filter(self, tile_size_x, tile_size_y, mapper_x, mapper_y, channel):
dct_filter = torch.zeros(channel, tile_size_x, tile_size_y)
for i in range(channel):
for _, (u_x, v_y) in enumerate(zip(mapper_x, mapper_y)):
for t_x in range(tile_size_x):
for t_y in range(tile_size_y):
dct_filter[i, t_x, t_y] = self.build_filter(t_x, u_x, tile_size_x) * self.build_filter(
t_y, v_y, tile_size_y)return dct_filter
不分组用top1不就可以了吗
from fcanet.
Related Issues (20)
- SE-NET基础上加FCA HOT 1
- 关于 the L73-L83 in model/layer.py 中learnable tensor的问题 HOT 2
- 低频分量 HOT 2
- selecting frequency components HOT 1
- 请问YOLOX可以使用吗?看到是ResNet? HOT 1
- model.init HOT 1
- 想请问一下代码中bot是怎么选取的代表什么意思 HOT 1
- get_dct_weights() cannot be found HOT 3
- 是否能提供一下对比实验中ResNet50的结果权重呢? HOT 2
- dct_h and dct_w HOT 5
- 关于模型精度 HOT 2
- 这个不是和SeNet差不多吗?为啥不可以做成即插即用的注意力模块
- 频率分量的确定 HOT 4
- 如何理解和解释,固定的DCT比可学习的方式更好? HOT 2
- 如何进行FcaNet-TS的实验 HOT 3
- 关于7X7频域的问题 HOT 4
- 一维的GAP是否可以被视为一维DCT的特例呢
- Implementation MultiSpectralAttentionLayer in Tensorflow
- 修改为三维
- 关于特定频率分量的选择
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fcanet.