nni icon indicating copy to clipboard operation
nni copied to clipboard

where is scripts.compression_mnist_model

Open james20141606 opened this issue 2 years ago • 3 comments

Describe the issue: When I tried to run the demo from the doc here https://nni.readthedocs.io/en/stable/tutorials/quantization_speedup.html, I could not found scripts.compression_mnist_model in from scripts.compression_mnist_model import TorchModel, trainer, evaluator, device, test_trt

Environment:

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

Configuration:

  • Experiment config (remember to remove secrets!):
  • Search space:

Log message:

  • nnimanager.log:
  • dispatcher.log:
  • nnictl stdout and stderr:

How to reproduce it?:

james20141606 avatar Jul 25 '22 23:07 james20141606

hello @james20141606 , sorry for confusing about this file, here is the scripts https://github.com/microsoft/nni/tree/master/examples/tutorials/scripts

J-shang avatar Jul 26 '22 11:07 J-shang

hello @james20141606 , sorry for confusing about this file, here is the scripts https://github.com/microsoft/nni/tree/master/examples/tutorials/scripts

@J-shang shall we add a corresponding fix to the document?

scarlett2018 avatar Aug 01 '22 02:08 scarlett2018

hello @james20141606 , sorry for confusing about this file, here is the scripts https://github.com/microsoft/nni/tree/master/examples/tutorials/scripts

@J-shang shall we add a corresponding fix to the document?

Yes, trying to package these files into nni pipy package

J-shang avatar Aug 01 '22 03:08 J-shang

have moved .scripts to nni_assets, close this issue

J-shang avatar Nov 23 '22 03:11 J-shang