mmrazor icon indicating copy to clipboard operation
mmrazor copied to clipboard

[Bug] Can't use RepVGG with AutoSlim

Open twmht opened this issue 2 years ago • 1 comments

It's very similar to #79, it's a bug of the parser, except the exception is that it reached maximum recursion when calling trace_bn_conv_links (https://github.com/open-mmlab/mmrazor/blob/master/mmrazor/models/pruners/structure_pruning.py#L124).

To reproduce, simply replace the model (https://github.com/open-mmlab/mmrazor/blob/master/configs/pruning/autoslim/autoslim_mbv2_supernet_8xb256_in1k.py) with RepVGG.

I am refactoring the parser to make it more general and easily to debug. Stay tuned.

twmht avatar Feb 23 '22 12:02 twmht

Sorry for taking so long to get back to you. Next, I will focus on MMRazor, and solve the related issues you raised as soon as possible.

pppppM avatar Mar 07 '22 03:03 pppppM