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 Bugfix: 1 out ch conv layer being treated as depthwise conv layer #5751

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

saravanabalagi
Copy link

Description

When the output channels of the last layer is 1, even when there are 2 successive conv blocks, pruning is met with the error assert len(set(num_channels_list)) == 1. This is due to this 1 out channel conv layer is being treated as depthwise convolution and ends up wrongly in dependency group.

Fixes #5736

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

Successfully merging this pull request may close these issues.

ModelSpeedup error: assert len(set(num_channels_list)) == 1, possible incorrect layers in dependency set
1 participant