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 set channels ratios for CR ? #30

Closed
zlheos opened this issue Oct 10, 2017 · 4 comments
Closed

How can i set channels ratios for CR ? #30

zlheos opened this issue Oct 10, 2017 · 4 comments

Comments

@zlheos
Copy link

zlheos commented Oct 10, 2017

I your paper 4.1.2 section:
< Remaining channels ratios for shallow layers (conv1_x to conv3_x) and deep layers (conv4_x)
is 1 : 1:5. conv5_x are not pruned>
I set 3.0 rations for shollow layers and 1.5 rations for conv4_x, but the accuracy drop 0.77
Can you tell me how can i set channel rations ?

@ethanhe42
Copy link
Owner

you can see this post: https://github.com/yihui-he/channel-pruning/wiki/ResNet-perserving-ratio
set up ratio for VGG-16 is similar with ResNet

@zlheos
Copy link
Author

zlheos commented Oct 11, 2017

In your channel_pruning.prototxt
{layer channels
conv1_1 24
conv1_2 22
conv2_1 41
conv2_2 51
conv3_1 108
conv3_2 89
conv3_3 111
conv4_1 184
conv4_2 276
conv4_3 228
}
how can you set these layer channels?

@ethanhe42
Copy link
Owner

as in paper, 1:1.5 preserving channels ratio

@ethanhe42
Copy link
Owner

Not correct. you can see this post: https://github.com/yihui-he/channel-pruning/wiki/ResNet-perserving-ratio set up ratio for VGG-16 is similar with ResNet

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

2 participants