microsoft / nni

An open source AutoML toolkit for automate machine learning lifecycle, including feature engineering, neural architecture search, model compression and hyper-parameter tuning.
https://nni.readthedocs.io
MIT License
14k stars 1.81k forks source link

Does the current pruning tool not support Channel Split operation? #5713

Open YHaooo-4508 opened 10 months ago

YHaooo-4508 commented 10 months ago

I uesd the Partial_conv in my model, which includes the Channel Split(torch.split). In the inference(after ModelSpeedup), i got the error in x1, x2 = torch.split(x, [self.dim_conv3, self.dim_untouched], dim=1):

RuntimeError: start (36) + length (108) exceeds dimension size (139).