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
2039c1c6
Unverified
Commit
2039c1c6
authored
Jun 18, 2019
by
SparkSnail
Committed by
GitHub
Jun 18, 2019
Browse files
Fix nnictl resume (#1172)
parent
b3a6ff8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tools/nni_cmd/launcher.py
tools/nni_cmd/launcher.py
+2
-0
No files found.
tools/nni_cmd/launcher.py
View file @
2039c1c6
...
@@ -39,6 +39,7 @@ import site
...
@@ -39,6 +39,7 @@ import site
import
time
import
time
from
pathlib
import
Path
from
pathlib
import
Path
from
.command_utils
import
check_output_command
,
kill_command
from
.command_utils
import
check_output_command
,
kill_command
from
.nnictl_utils
import
update_experiment
def
get_log_path
(
config_file_name
):
def
get_log_path
(
config_file_name
):
'''generate stdout and stderr log path'''
'''generate stdout and stderr log path'''
...
@@ -501,6 +502,7 @@ def launch_experiment(args, experiment_config, mode, config_file_name, experimen
...
@@ -501,6 +502,7 @@ def launch_experiment(args, experiment_config, mode, config_file_name, experimen
def
resume_experiment
(
args
):
def
resume_experiment
(
args
):
'''resume an experiment'''
'''resume an experiment'''
update_experiment
()
experiment_config
=
Experiments
()
experiment_config
=
Experiments
()
experiment_dict
=
experiment_config
.
get_all_experiments
()
experiment_dict
=
experiment_config
.
get_all_experiments
()
experiment_id
=
None
experiment_id
=
None
...
...
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