"vscode:/vscode.git/clone" did not exist on "4935b575ac9b8ff2cb067b5d6bd8d3e95da6f7cf"
README.md 1.11 KB
Newer Older
Zejun Lin's avatar
Zejun Lin committed
1
## NNI CTL
Deshui Yu's avatar
Deshui Yu committed
2
The NNI CTL module is used to control Neural Network Intelligence, including start a new experiment, stop an experiment and update an experiment etc.  
Zejun Lin's avatar
Zejun Lin committed
3
4
## Environment

Deshui Yu's avatar
Deshui Yu committed
5
6
7
8
9
```
Ubuntu 16.04 or other Linux OS
python >= 3.5
```

Zejun Lin's avatar
Zejun Lin committed
10
## Installation
Deshui Yu's avatar
Deshui Yu committed
11

Zejun Lin's avatar
Zejun Lin committed
12
13
14
15
 1. Enter tools directory  
 
 2. Use pip3 to install packages
    * Install for current user:
Deshui Yu's avatar
Deshui Yu committed
16

Gems Guo's avatar
Gems Guo committed
17
          python3 -m pip install --user -e .
Deshui Yu's avatar
Deshui Yu committed
18

Zejun Lin's avatar
Zejun Lin committed
19
    * Install for all users:
Deshui Yu's avatar
Deshui Yu committed
20

Gems Guo's avatar
Gems Guo committed
21
          python3 -m pip install -e .
Deshui Yu's avatar
Deshui Yu committed
22
23

 
Zejun Lin's avatar
Zejun Lin committed
24
1. Change the mode of nnictl file 
Deshui Yu's avatar
Deshui Yu committed
25
26
27
   
    chmod +x ./nnictl
    
Zejun Lin's avatar
Zejun Lin committed
28
2. Add nnictl to your PATH system environment variable.   
Deshui Yu's avatar
Deshui Yu committed
29
  
Zejun Lin's avatar
Zejun Lin committed
30
    * You could use `export` command to set PATH variable temporary.
Deshui Yu's avatar
Deshui Yu committed
31
32
33
  
          export PATH={your nnictl path}:$PATH  

Zejun Lin's avatar
Zejun Lin committed
34
    * Or you could edit your `/etc/profile` file.
Deshui Yu's avatar
Deshui Yu committed
35
36
37
38
39
40
41
42
43
44
45
46
          
          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 
          
     
Zejun Lin's avatar
Zejun Lin committed
47
48
## To start using NNI CTL

Deshui Yu's avatar
Deshui Yu committed
49
50
51
52
please reference to the [NNI CTL document].


[NNI CTL document]: ../docs/NNICTLDOC.md