Commit efa025cd authored by Shreyan Chowdhury's avatar Shreyan Chowdhury
Browse files

fix minor issue in init_experiment (mkdir -> makedirs)

parent 176d4816
......@@ -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.mkdir(CURR_RUN_PATH)
os.makedirs(CURR_RUN_PATH)
# SET UP LOGGING =============================================
fh = logging.FileHandler(os.path.join(CURR_RUN_PATH, f'{curr_run_name}.log'))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment