Place model name to the beginning of the generated output folder name

pull/10/head
Eren Golge 2018-12-17 16:38:12 +01:00
parent c245cb4f75
commit 22664a52c8
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ def create_experiment_folder(root_path, model_name, debug):
else:
commit_hash = get_commit_hash()
output_folder = os.path.join(
root_path, date_str + '-' + model_name + '-' + commit_hash)
root_path, model_name + '-' + date_str + '-' + commit_hash)
os.makedirs(output_folder, exist_ok=True)
print(" > Experiment folder: {}".format(output_folder))
return output_folder