Open twmht opened 2 years ago
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).
trace_bn_conv_links
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.
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.
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.