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

This commit is contained in:
Eren Golge
2018-12-28 14:22:41 +01:00
parent 4b0d745652
commit 806643300c
+1 -1
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