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

关于剪枝后模型的问题 #14

Open
helenxxz opened this issue Nov 30, 2020 · 1 comment
Open

关于剪枝后模型的问题 #14

helenxxz opened this issue Nov 30, 2020 · 1 comment

Comments

@helenxxz
Copy link

helenxxz commented Nov 30, 2020

您好!
请问您的代码剪枝后生成的模型是不是并没有完全删去通道,就是说并没有将模型的结构变化,而是把需要剪掉的通道的卷积权重置零了呢?
如果是的话,那是不是剪枝后的模型保存的占用空间与剪枝前的是一样的?那参数和FLOPS的现存量是手动按照剪枝率计算的嘛?
谢谢!#因为我在自己做resnet剪枝的时候,想要做到结构变化,但是由于downsample的存在,想减每一层有点问题,不知道该怎么处理,所以想确认下您的代码是否实现了完全剪枝改变模型结构
谢谢!!

@lmbxmu
Copy link
Owner

lmbxmu commented Nov 30, 2020

请参考:https://github.com/lmbxmu/HRankPlus

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