Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

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

# for free to subscribe to this conversation on GitHub. Already have an account? #.
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