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
13.98k stars 1.81k forks source link

can't find MutableDropout, MutableLinear #5654

Open flower997 opened 1 year ago

flower997 commented 1 year ago

Describe the issue: filename : examples/tutorials/hello_nas.py code : from nni.nas.nn.pytorch import LayerChoice, ModelSpace, MutableDropout, MutableLinear error : can't find MutableDropout, MutableLinear

Environment:

sw33zy commented 1 year ago

Those are for version 3.0rc1

I think you may followed the tutorial for the latest version (3.0rc1). Check https://nni.readthedocs.io/en/v2.10/tutorials/hello_nas.html instead.

flower997 commented 1 year ago

thank you!

534145232 commented 5 months ago

I don't know why for all version there is no MutableDropout and MutableLinear but they show up in every guideline