-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
why Resnet-50 channel pruning is worse with reconstruction ? #71
Comments
@zlheos hi , I see you are also insterested in ResNet pruning, so am I. Do you successful? should I run add_bn() first? |
Any news about pruning resNet-18? I have been trying to prune it for sometimes, but I could not get better that 80% accuracy for 10 percent compression. |
@bbjy for resNet I only applied it on 8 filters of all net( basically 2 out of 5 conv layers of each residual block. I guess you need 3c for the filters that their input our outputs are affected by residual shortcut. However, I also tried to use 3c , prune filters from other layers and reconstruct error with linear regression which was not worked in my case. |
@Toory465 Actually, I donnot want to use 3c , I only want to use the channel pruning method in my case, but I don't know how to delet the other two in the code. And would you please tell me is there any modification in your cfgs.py ?Thank you so much! |
@zlheos Have you already pruned the resnet-50? I am very interested in it, and I am trying to prune it, but failed. |
@bbjy I try to prune resnet-50 with only cp, but the result will be worse |
@zlheos Ok,thank you. |
@bbjy , have you try to cp resnet-50 ? |
I tried, but failed. |
I tried, but failed.@zlheos |
I try to prune resnet-50
first, Merge batchnorm and conv , the precise is 92%
second, I set channel ration = 0.9 , I only prune before res2a-brach2c , but the precise drop to 65%
I don't know what is wrong ?
then , I only prune channel without reconstruction , prune before res2a-brach2c and the precise drop less, I don't know why is worse with reconstruction ?
Thank you for your answer
The text was updated successfully, but these errors were encountered: