The NNI CTL module is used to control Neural Network Intelligence, including start a new experiment, stop an experiment and update an experiment etc.
Ubuntu 16.04 or other Linux OS
python >= 3.5
-
Enter tools directory
-
Use pip to install packages
-
Install for current user:
python3 -m pip install --user -e .
-
Install for all users:
python3 -m pip install -e .
-
-
Change the mode of nnictl file
chmod +x ./nnictl
-
Add nnictl to your PATH system environment variable.
-
You could use
export
command to set PATH variable temporary.export PATH={your nnictl path}:$PATH
-
Or you could edit your
/etc/profile
file.1.sudo vim /etc/profile 2.At the end of the file, add export PATH={your nnictl path}:$PATH save and exit. 3.source /etc/profile
-
please reference to the NNI CTL document.