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

NAS examples #1983

Closed maayan-hassidim closed 4 years ago

maayan-hassidim commented 4 years ago

Hi,

Short summary about the issue/question: I'm trying to run a NAS example (classic_nas and also NNI-NAS-Example-dev-enas) and get errors.

Brief what process you are following: When running: nnictl create --config config_nas.yml I get the error: ERROR: Your config file is not correct, please check your config file content! ERROR: searchSpacePath path not exist!

After a google search I found the NNI-NAS-Example-dev-enas from the dev-enas branch (https://github.com/Crysple/NNI-NAS-Example/tree/dev-enas) and added it to the nas example directory. When running nnictl create --config config.yml I get this error: image

How to reproduce it:

nni Environment:

need to update document(yes/no): no

Anything else we need to know: no

Thanks! Maayan

ultmaster commented 4 years ago

Hi. For your first question, please follow the instructions here: run ss_gen first, then nnictl.

It looks to me that the problem you show in your screenshot is caused by tensorflow. Try to downgrade your tensorflow.

Please also note that NNI-NAS-Example-dev-enas is a very old example, and not compatible with current API (or future). To use it, please install NNI <= 1.0.

Thanks for your issue and hope it works for you.

maayan-hassidim commented 4 years ago

Thanks! Now it works.