How to sparsify a ResNet-101


My question is pretty straight-forward. Let’s say I got a pruned ResNet-101 using torch.nn.utils.prune module. How can I sparsify the network to boost inference speed and reduce the memory footprint ?

The ResNet is from Detectron2 library.

Thank’s in advance for your advice

Hi @cyril9227, please see my answer to a similar question and links therein: