Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
4bbffd17
"examples/vscode:/vscode.git/clone" did not exist on "a0820dd5561e19b67cc93c19c4ef987a406ee14e"
Commit
4bbffd17
authored
Jul 17, 2019
by
suiguoxin
Browse files
Merge branch 'master' of
git://github.com/microsoft/nni
parents
d92c69f4
4592ba41
Changes
87
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
13 deletions
+15
-13
src/webui/src/static/style/openRow.scss
src/webui/src/static/style/openRow.scss
+1
-1
src/webui/src/static/style/overviewTitle.scss
src/webui/src/static/style/overviewTitle.scss
+2
-2
src/webui/src/static/style/progress.scss
src/webui/src/static/style/progress.scss
+2
-2
src/webui/src/static/style/slideBar.scss
src/webui/src/static/style/slideBar.scss
+1
-1
src/webui/src/static/style/table.scss
src/webui/src/static/style/table.scss
+1
-1
tools/nni_cmd/constants.py
tools/nni_cmd/constants.py
+6
-4
tools/nni_cmd/url_utils.py
tools/nni_cmd/url_utils.py
+2
-2
No files found.
src/webui/src/static/style/openRow.scss
View file @
4bbffd17
...
...
@@ -22,7 +22,7 @@ $bgColor: #f2f2f2;
}
.ant-tabs-nav
.ant-tabs-tab-active
{
color
:
$color
;
font-weight
:
5
00
;
font-weight
:
6
00
;
background
:
#dedede
;
border-left
:
3px
solid
;
}
...
...
src/webui/src/static/style/overviewTitle.scss
View file @
4bbffd17
...
...
@@ -5,6 +5,7 @@ $titleBgcolor: #b3b3b3;
}
.panelTitle
{
font-family
:
'Segoe UI'
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
width
:
100%
;
height
:
38px
;
background
:
$titleBgcolor
;
...
...
@@ -17,8 +18,7 @@ $titleBgcolor: #b3b3b3;
span
{
font-size
:
18px
;
font-weight
:
bold
;
font-family
:
'Segoe'
;
font-weight
:
600
;
color
:
#333
;
line-height
:
38px
;
margin-left
:
14px
;
...
...
src/webui/src/static/style/progress.scss
View file @
4bbffd17
...
...
@@ -4,7 +4,7 @@
.status
{
color
:
#0573bc
;
font-size
:
20px
;
font-weight
:
bold
;
font-weight
:
600
;
margin-top
:
5px
;
}
...
...
@@ -46,7 +46,7 @@
.basic
{
line-height
:
24px
;
font-family
:
'Segoe
'
;
font-family
:
'Segoe
UI'
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
p
{
font-size
:
14px
;
color
:
#212121
;
...
...
src/webui/src/static/style/slideBar.scss
View file @
4bbffd17
...
...
@@ -10,8 +10,8 @@ $drowHoverBgColor: #e2e2e2;
margin
:
0
auto
;
position
:
relative
;
.tab
{
font-family
:
'Segoe'
;
line-height
:
$barHeight
;
font-family
:
'Segoe UI'
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
a
{
font-size
:
18px
;
color
:
#b8c7ce
;
...
...
src/webui/src/static/style/table.scss
View file @
4bbffd17
...
...
@@ -26,7 +26,7 @@
}
/* add the brother selector to increase the priority */
#succeTable
.commonTableStyle
,
#tableList
.commonTableStyle
{
font-family
:
'Segoe UI'
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
tr
{
text-align
:
center
;
color
:
#212121
;
...
...
tools/nni_cmd/constants.py
View file @
4bbffd17
...
...
@@ -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
'
\
...
...
tools/nni_cmd/url_utils.py
View file @
4bbffd17
...
...
@@ -67,7 +67,7 @@ def trial_jobs_url(port):
def
trial_job_id_url
(
port
,
job_id
):
'''get trial_jobs with id url'''
return
'{0}:{1}{2}{3}/
:
{4}'
.
format
(
BASE_URL
,
port
,
API_ROOT_URL
,
TRIAL_JOBS_API
,
job_id
)
return
'{0}:{1}{2}{3}/{4}'
.
format
(
BASE_URL
,
port
,
API_ROOT_URL
,
TRIAL_JOBS_API
,
job_id
)
def
export_data_url
(
port
):
...
...
@@ -87,4 +87,4 @@ def get_local_urls(port):
for
addr
in
info
:
if
AddressFamily
.
AF_INET
==
addr
.
family
:
url_list
.
append
(
'http://{}:{}'
.
format
(
addr
.
address
,
port
))
return
url_list
\ No newline at end of file
return
url_list
Prev
1
2
3
4
5
Next
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