Comments (5)
We compute the weight of 2d dct during initialization. The dct kernel is fixed and has no extra computation cost in the training phase.
from fcanet.
We compute the weight of 2d dct during initialization. The dct kernel is fixed and has no extra computation cost in the training phase.
Thanks.
Leave the paper aside. Do you know how to compute the FLOPs of 2d dct?
If you can provide me some idea or code or fomula about that, I will be thanks so much:) 👍 @peterzpy
from fcanet.
@TianhaoFu
The realization of 2d dct is actually element product. For a image with a size h x w
and a dct basis with a size of h x w
, the re would be total hw
times of multiplication.
from fcanet.
The FLOPs is calculated by: https://github.com/sovrasov/flops-counter.pytorch
from fcanet.
Thanks
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.