nni icon indicating copy to clipboard operation
nni copied to clipboard

can't find MutableDropout, MutableLinear

Open flower997 opened this issue 1 year ago • 3 comments

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:

  • NNI version:2.10.1
  • Training service (local|remote|pai|aml|etc):local
  • Client OS:windows11
  • Server OS (for remote mode only):
  • Python version:3.9
  • PyTorch/TensorFlow version:1.13.0
  • Is conda/virtualenv/venv used?:conda
  • Is running in Docker?:no

flower997 avatar Aug 01 '23 13:08 flower997

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.

sw33zy avatar Aug 03 '23 17:08 sw33zy

thank you!

flower997 avatar Aug 17 '23 03:08 flower997

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

534145232 avatar Mar 22 '24 11:03 534145232