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

如何进行迭代剪枝 #28

Open
liulonghoi opened this issue Oct 24, 2019 · 10 comments
Open

如何进行迭代剪枝 #28

liulonghoi opened this issue Oct 24, 2019 · 10 comments

Comments

@liulonghoi
Copy link

文中所提到的迭代剪枝是将您提供的代码进行一次,然后将得到微调后的模型重复train with sparsity ,prune等过程吗?我实际去做的时候发现剪枝一次后的模型再重复剪枝的话减掉的通道和第一次剪枝一样,并没有剪枝掉更多的通道,这是什么原因呢?

@Eric-mingjie
Copy link
Owner

Eric-mingjie commented Oct 24, 2019

The current code is designed to support one-shot pruning. Please take a look at the pruning code. I think for VGG you can reuse the pruning code for iterative pruning. For ResNet and DenseNet, there is a channel selection layer. Therefore, you can not reuse the pruning code for iterative pruning.

@liulonghoi
Copy link
Author

Thank you for your reply,could you show me the puring code?

@Eric-mingjie
Copy link
Owner

We don't have it yet.

@HouBiaoLiu
Copy link

我按照作者的改了一个迭代剪枝的,可进行再次剪枝

@tangbohu
Copy link

我按照作者的改了一个迭代剪枝的,可进行再次剪枝

可否分享下code,email address: tangbohutbh@gmail.com

@17868380981
Copy link

我按照作者的改了一个迭代剪枝的,可进行再次剪枝

能分享一下迭代剪枝的代码嘛。

@17868380981
Copy link

我按照作者的改了一个迭代剪枝的,可进行再次剪枝

1109720378@qq.comqq.com

@zmzds
Copy link

zmzds commented Aug 9, 2022

我按照作者的改了一个迭代剪枝的,可进行再次剪枝

能分享一下代码吗?810937616@qq.com

@17868380981
Copy link

17868380981 commented Aug 9, 2022 via email

@zmzds
Copy link

zmzds commented Aug 9, 2022

不好意思,我已经毕业了,代码要丢了,你看有没有通讯作者可以联系一下。

那可以分享一下可参考的代码吗?通讯作者好像联系不到

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

6 participants