Skip to content

1x1 convolutional layers in shortcuts in ResNet-18 are pruned completely during singleshot SynFlow #7

@xhchrn

Description

@xhchrn

In single-shot experiments using SynFlow as the pruner, it is very likely that the 1x1 convolutional layers are completely pruned out. A command to reproduce this observation is:

python main.py --dataset tiny-imagenet --model resnet18 --model-class tinyimagenet --compression 1.0 --experiment singleshot --pruner synflow --prune-epochs 100

I observe similar things on CIFAR-10 using ResNet-18 (which is not implemented in this repo). The shortcut convolutional layers in ResNet-20 on CIFAR-10 will not be pruned completely, but very close, leaving only a few non-zero elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions