Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
4592ba41
Unverified
Commit
4592ba41
authored
Jul 17, 2019
by
Guoxin
Committed by
GitHub
Jul 17, 2019
Browse files
Merge pull request #1307 from SparkSnail/dev-nnictl
Add a documentation link in the command prompt
parents
257ceacc
b3b8bbe4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
tools/nni_cmd/constants.py
tools/nni_cmd/constants.py
+6
-4
No files found.
tools/nni_cmd/constants.py
View file @
4592ba41
...
...
@@ -34,12 +34,12 @@ DEFAULT_REST_PORT = 8080
REST_TIME_OUT
=
20
EXPERIMENT_SUCCESS_INFO
=
Fore
.
GREEN
+
'Successfully started experiment!
\n
'
+
Fore
.
RESET
+
\
'-----------------------------------------------------------------------
\n
'
\
'-----------------------------------------------------------------------
-------------
\n
'
\
'The experiment id is %s
\n
'
\
'The Web UI urls are: %s
\n
'
\
'-----------------------------------------------------------------------
\n\n
'
\
'-----------------------------------------------------------------------
-------------
\n\n
'
\
'You can use these commands to get more information about the experiment
\n
'
\
'-----------------------------------------------------------------------
\n
'
\
'-----------------------------------------------------------------------
-------------
\n
'
\
' commands description
\n
'
\
'1. nnictl experiment show show the information of experiments
\n
'
\
'2. nnictl trial ls list all of trial jobs
\n
'
\
...
...
@@ -49,7 +49,9 @@ EXPERIMENT_SUCCESS_INFO = Fore.GREEN + 'Successfully started experiment!\n' + Fo
'6. nnictl stop stop an experiment
\n
'
\
'7. nnictl trial kill kill a trial job by id
\n
'
\
'8. nnictl --help get help information about nnictl
\n
'
\
'-----------------------------------------------------------------------
\n
'
\
'------------------------------------------------------------------------------------
\n
'
\
'Command reference document https://nni.readthedocs.io/en/latest/Tutorial/Nnictl.html
\n
'
\
'------------------------------------------------------------------------------------
\n
'
LOG_HEADER
=
'-----------------------------------------------------------------------
\n
'
\
' Experiment start time %s
\n
'
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment