Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shreyan Chowdhury
moodwalk
Commits
efa025cd
Commit
efa025cd
authored
Sep 11, 2019
by
Shreyan Chowdhury
Browse files
fix minor issue in init_experiment (mkdir -> makedirs)
parent
176d4816
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils.py
View file @
efa025cd
...
...
@@ -136,7 +136,7 @@ def init_experiment(comment='', name=None):
CURR_RUN_PATH
=
os
.
path
.
join
(
PATH_RESULTS
,
'runs'
,
curr_run_name
)
if
not
os
.
path
.
isdir
(
CURR_RUN_PATH
):
os
.
m
k
dir
(
CURR_RUN_PATH
)
os
.
m
ake
dir
s
(
CURR_RUN_PATH
)
# SET UP LOGGING =============================================
fh
=
logging
.
FileHandler
(
os
.
path
.
join
(
CURR_RUN_PATH
,
f
'
{
curr_run_name
}
.log'
))
...
...
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