Comments (15)
It's just a matter of notation. Using conv makes it easier to prune conv filters
from channel-pruning.
I don't undstand why not use relu in CR stage , but use relu in VH stage ?
But I want to know whether I should consider relu in CR in single CR / single channel pruning?
thank you very much for your answer!
from channel-pruning.
I'm not clear what you mean. How to pruning a single channel layer?
from channel-pruning.
I mean only CR , no VH and ITQ
from channel-pruning.
I still don't understand
- consider relu in CR
- why not use relu in CR stage , but use relu in VH stage
from channel-pruning.
Debug info:
In CR stage:
Extracting X conv3_1 From Y conv3_2 stride 1
In VH stage:
Extracting X relu3_1 From Y conv3_2 stride 1
I don't understand why don't consider relu3_1 in CR stage ?
my QQ number is : 317378808
Can we communicate with QQ, thank you very much
from channel-pruning.
Please read 3C approach in 4.1.2, and factorization papers [22,53]
from channel-pruning.
'''CR''' stage
if conv in pooldic:
X_name = self.bottom_names[convnext][0]
else:
X_name = conv
X_name 不应该全部都采用self.bottom_names[convnext][0]吗?
如果仅仅使用CR,没有 VH 和 ITH;
X_name 应该怎么输入?
from channel-pruning.
用 self.bottom_names[convnext][0] 是因为conv之间隔了一个pooling
from channel-pruning.
thank you very much!
from channel-pruning.
I have sended a message to your edu mailbox
I'm glad you could answer
from channel-pruning.
@yihui-he, I'm sorry for keep asking, but I don't know Chinese and google's translation is bad.
My question is:
If we only execute the Channel Pruning stage, do we need to extract all ReLU and all Pool Layers from all the CONV layers?
I'm confused because like @zlheos, I also observed that different pruning stages extract different layers, for example:
First Iteration
----------------------------------------------
Extracting X relu1_1 From Y conv1_2 stride 1
spatial_decomposition 90.12070608139038
----------------------------------------------
Extracting conv1_2 (50000, 64) -- samples
channel_decomposition 66.06586813926697
------------------------------------------------
Extracting X pool1 From Y conv2_1 stride 1
channel_pruning 46.22542428970337
------------------------------------------------
Second Iteration
------------------------------------------------
Extracting X pool1 From Y conv2_1 stride 1
spatial_decomposition 81.37090802192688
------------------------------------------------
Extracting conv2_1 (50000, 128) -- samples
channel_decomposition 96.16854739189148
------------------------------------------------
Extracting X conv2_1 From Y conv2_2 stride 1
channel_pruning 63.9356963634491
But the description of extract_XY()
says it only supports conv-relu-conv operation:
from channel-pruning.
yes you need to extract pooling
from channel-pruning.
@yihui-he but we don't care about ReLU because we already split it in step0, correct?
from channel-pruning.
from channel-pruning.
Related Issues (20)
- has AMC released? HOT 4
- the model size is not descreased after channel pruning? HOT 1
- GPU HOT 2
- HI, @yihui-he ,i have a queation to ask you:
- About CPU memory and run code with time consuming HOT 2
- Will it be possible to run these models in CPU? What changes to make? HOT 1
- Deep Neural Network Pruning Tools? HOT 1
- How do you test speed ratio?
- VGG Channel Pruning Parameters
- AMC: AutoML for resnet-50 HOT 1
- prune Inception-V3
- 运行train.py出现问题 HOT 3
- 关于测试出现的问题
- Question about MoBiNet HOT 1
- get stuck Extracting HOT 1
- KeyError: 'conv1_2_V'
- Why do I have this problem?
- 有tensorflow或者torch版本的吗?求推荐
- Weight normalization
- Channel pruning in YOLOX HOT 1
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 channel-pruning.