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
ed401808
Unverified
Commit
ed401808
authored
Jun 03, 2021
by
kvartet
Committed by
GitHub
Jun 03, 2021
Browse files
Fix typo in nni/experiment/launcher.py (#3701)
parent
e269db6d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
docs/en_US/Tutorial/python_api_start.ipynb
docs/en_US/Tutorial/python_api_start.ipynb
+1
-1
examples/trials/sklearn/classification/python_api_start.ipynb
...ples/trials/sklearn/classification/python_api_start.ipynb
+1
-1
nni/experiment/launcher.py
nni/experiment/launcher.py
+2
-2
No files found.
docs/en_US/Tutorial/python_api_start.ipynb
View file @
ed401808
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
"output_type": "stream",
"output_type": "stream",
"text": [
"text": [
"[2021-03-05 12:12:19] Creating experiment, Experiment ID: wdt0le3v\n",
"[2021-03-05 12:12:19] Creating experiment, Experiment ID: wdt0le3v\n",
"[2021-03-05 12:12:19] Sta
t
ring web server...\n",
"[2021-03-05 12:12:19] Star
t
ing web server...\n",
"[2021-03-05 12:12:20] Setting up...\n",
"[2021-03-05 12:12:20] Setting up...\n",
"[2021-03-05 12:12:20] Web UI URLs: http://127.0.0.1:8080 http://10.0.1.5:8080 http://172.17.0.1:8080\n"
"[2021-03-05 12:12:20] Web UI URLs: http://127.0.0.1:8080 http://10.0.1.5:8080 http://172.17.0.1:8080\n"
]
]
...
...
examples/trials/sklearn/classification/python_api_start.ipynb
View file @
ed401808
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
"output_type": "stream",
"output_type": "stream",
"text": [
"text": [
"[2021-03-05 12:12:19] Creating experiment, Experiment ID: wdt0le3v\n",
"[2021-03-05 12:12:19] Creating experiment, Experiment ID: wdt0le3v\n",
"[2021-03-05 12:12:19] Sta
t
ring web server...\n",
"[2021-03-05 12:12:19] Star
t
ing web server...\n",
"[2021-03-05 12:12:20] Setting up...\n",
"[2021-03-05 12:12:20] Setting up...\n",
"[2021-03-05 12:12:20] Web UI URLs: http://127.0.0.1:8080 http://10.0.1.5:8080 http://172.17.0.1:8080\n"
"[2021-03-05 12:12:20] Web UI URLs: http://127.0.0.1:8080 http://10.0.1.5:8080 http://172.17.0.1:8080\n"
]
]
...
...
nni/experiment/launcher.py
View file @
ed401808
...
@@ -39,7 +39,7 @@ def start_experiment(exp_id: str, config: ExperimentConfig, port: int, debug: bo
...
@@ -39,7 +39,7 @@ def start_experiment(exp_id: str, config: ExperimentConfig, port: int, debug: bo
try
:
try
:
_logger
.
info
(
'Creating experiment, Experiment ID: %s'
,
colorama
.
Fore
.
CYAN
+
exp_id
+
colorama
.
Style
.
RESET_ALL
)
_logger
.
info
(
'Creating experiment, Experiment ID: %s'
,
colorama
.
Fore
.
CYAN
+
exp_id
+
colorama
.
Style
.
RESET_ALL
)
start_time
,
proc
=
_start_rest_server
(
config
,
port
,
debug
,
exp_id
,
mode
=
mode
)
start_time
,
proc
=
_start_rest_server
(
config
,
port
,
debug
,
exp_id
,
mode
=
mode
)
_logger
.
info
(
'Sta
t
ring web server...'
)
_logger
.
info
(
'Star
t
ing web server...'
)
_check_rest_server
(
port
)
_check_rest_server
(
port
)
platform
=
'hybrid'
if
isinstance
(
config
.
training_service
,
list
)
else
config
.
training_service
.
platform
platform
=
'hybrid'
if
isinstance
(
config
.
training_service
,
list
)
else
config
.
training_service
.
platform
_save_experiment_information
(
exp_id
,
port
,
start_time
,
platform
,
_save_experiment_information
(
exp_id
,
port
,
start_time
,
platform
,
...
@@ -74,7 +74,7 @@ def start_experiment_retiarii(exp_id: str, config: ExperimentConfig, port: int,
...
@@ -74,7 +74,7 @@ def start_experiment_retiarii(exp_id: str, config: ExperimentConfig, port: int,
pipe_file
=
pipe
.
connect
()
pipe_file
=
pipe
.
connect
()
nni
.
runtime
.
protocol
.
_in_file
=
pipe_file
nni
.
runtime
.
protocol
.
_in_file
=
pipe_file
nni
.
runtime
.
protocol
.
_out_file
=
pipe_file
nni
.
runtime
.
protocol
.
_out_file
=
pipe_file
_logger
.
info
(
'Sta
t
ring web server...'
)
_logger
.
info
(
'Star
t
ing web server...'
)
_check_rest_server
(
port
)
_check_rest_server
(
port
)
platform
=
'hybrid'
if
isinstance
(
config
.
training_service
,
list
)
else
config
.
training_service
.
platform
platform
=
'hybrid'
if
isinstance
(
config
.
training_service
,
list
)
else
config
.
training_service
.
platform
_save_experiment_information
(
exp_id
,
port
,
start_time
,
platform
,
_save_experiment_information
(
exp_id
,
port
,
start_time
,
platform
,
...
...
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