Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I conduct channel pruning only? #16

Closed
zlheos opened this issue Sep 20, 2017 · 7 comments
Closed

How can I conduct channel pruning only? #16

zlheos opened this issue Sep 20, 2017 · 7 comments

Comments

@zlheos
Copy link

zlheos commented Sep 20, 2017

first, I really appreciated for your help!
Then I have some quesqions
How can i set single channel pruning?
how much is channel prunning accerate ration ?
why channel_pruning_VGG-16_3C4x.caffemodel is so big ?

@ethanhe42
Copy link
Owner

To use only channel pruning, u need modify the function r3 in net.py. for acceleration ratio, look at paper and code.
Because it's a 40+ layers network.

@zlheos
Copy link
Author

zlheos commented Sep 21, 2017

sorry to trouble you !
I don't know how to modify r3 for single channel prunning ?
thank you very much!

@ethanhe42
Copy link
Owner

We currently are not planning to release other parts of code.

@zlheos
Copy link
Author

zlheos commented Sep 22, 2017

Sorry to trouble you !
in R3 function
why don't prunning conv1_1 ?
and
I see pooldic = ['conv1_2', 'conv2_2'] ] , why no 'conv3_3' and others ?
I really appreciated for your help!

@ethanhe42
Copy link
Owner

ethanhe42 commented Sep 22, 2017

  • conv1_1 contributes little computation.
  • VH decompose degrades performance when decomposing conv3_3 and later pre-pooling-conv

@zlheos
Copy link
Author

zlheos commented Sep 22, 2017

thank you !
if only CR , how much should we set for c_ratio parameter ?
and how much should we set for very layer compression ration ?

@slothkong
Copy link

@zlheos hello. Do you know how to use @yihui-he's code to perform single-layer pruning?

@ethanhe42 ethanhe42 pinned this issue Jan 25, 2019
@ethanhe42 ethanhe42 changed the title How can I set single channel pruning? How can I conduct channel pruning only? Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants