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

Pruning filters and channels #7

Closed
zzqiuzz opened this issue Jun 12, 2019 · 2 comments
Closed

Pruning filters and channels #7

zzqiuzz opened this issue Jun 12, 2019 · 2 comments

Comments

@zzqiuzz
Copy link

zzqiuzz commented Jun 12, 2019

Hi! I have a puzzle that if you prune some filters in a specific layer, consequently you also need to prune channels in the next layer accordingly.But your codes just zerorize filters for each layer instead of considering the ordered relationship between two layers i.e. remove both filters in the ith layer and channels in the i+1th layer. Especially when the pruning process ends, if all targeted filters are pruned in the whole network, Error will be occured in the inference process, cause the reason overhead.

@he-y
Copy link
Owner

he-y commented Jun 12, 2019

Please refer to the issue of my other repo: link.
The issue is about to delete zeros.
I will update the code in this repo shortly.

@zzqiuzz
Copy link
Author

zzqiuzz commented Jun 13, 2019

oh got it. Filters pruned in the previous layer generate zero featuremaps in the next layer,thus there's no impact pruning the relative channels in the filters of next layer. 3ks

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