open-mmlab / mmrazor

OpenMMLab Model Compression Toolbox and Benchmark.
https://mmrazor.readthedocs.io/en/latest/
Apache License 2.0
1.47k stars 228 forks source link

OneShotMutableOP to OneHotMutableOP #562

Open houjun0322 opened 1 year ago

houjun0322 commented 1 year ago

https://github.com/open-mmlab/mmrazor/blob/90c7af1fdf35a606a2fceaaeb4b6be2f0dac4eb7/configs/_base_/nas_backbones/dsnas_shufflenet_supernet.py#L4 Maybe here means type='mmrazor.OneShotMutableOP'?

gaoyang07 commented 1 year ago

Thanks for raising this issue, actually OneHotMutableOP is a type of ops which is designed specially for DSNAS algorithm, you can check the definition for more details. See class OneHotMutableOP