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
573f23ce
Commit
573f23ce
authored
Jan 06, 2019
by
Zejun Lin
Committed by
QuanluZhang
Jan 06, 2019
Browse files
fix permision deny (#567)
parent
b7729f0a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/nni_cmd/launcher.py
tools/nni_cmd/launcher.py
+1
-1
No files found.
tools/nni_cmd/launcher.py
View file @
573f23ce
...
@@ -287,7 +287,7 @@ def launch_experiment(args, experiment_config, mode, config_file_name, experimen
...
@@ -287,7 +287,7 @@ def launch_experiment(args, experiment_config, mode, config_file_name, experimen
nni_config
.
set_config
(
'restServerPid'
,
rest_process
.
pid
)
nni_config
.
set_config
(
'restServerPid'
,
rest_process
.
pid
)
# Deal with annotation
# Deal with annotation
if
experiment_config
.
get
(
'useAnnotation'
):
if
experiment_config
.
get
(
'useAnnotation'
):
path
=
os
.
path
.
join
(
tempfile
.
gettempdir
(),
'nni'
,
'annotation'
)
path
=
os
.
path
.
join
(
tempfile
.
gettempdir
(),
os
.
environ
[
'USER'
],
'nni'
,
'annotation'
)
if
not
os
.
path
.
isdir
(
path
):
if
not
os
.
path
.
isdir
(
path
):
os
.
makedirs
(
path
)
os
.
makedirs
(
path
)
path
=
tempfile
.
mkdtemp
(
dir
=
path
)
path
=
tempfile
.
mkdtemp
(
dir
=
path
)
...
...
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