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

为什么shortcut_prune剪枝方法中,上采样前的卷积层不能进行剪枝? #96

Open
worldzhang1996 opened this issue Nov 24, 2020 · 1 comment

Comments

@worldzhang1996
Copy link

在prune_utils.py文件中的 line 60-62 中代码如下:
#上采样层前的卷积层不裁剪 ignore_idx.add(84) ignore_idx.add(96)

按照我的个人理解,上采样的话是只影响H和W两个维度,BN剪枝的话主要是对channel这个维度进行修剪。如果是对上采样前的卷积层进行剪枝,那么其实并不影响上采样操作?

@hzq-zjm
Copy link

hzq-zjm commented Apr 15, 2021

你好,请问理解了吗,我也有相同的困惑,望解答一下谢谢

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