Commit 3cae3fd6 authored by Colleen Beaumard's avatar Colleen Beaumard
Browse files

Modification of

parent d33f3c9b
......@@ -40,6 +40,9 @@ else:
# Path to save the confusion matrix for cross-validation
if model_type == "custom":
path = "model_{}/Sess_all_cross-valid/{}/{}emo_{}batch_lr-{}{}".format(model_type, ses_nb, model_2nd[1:] ,cates, nb_batch, lr, freeze)
if not os.path.isdir(path.rsplit("/", 2)[0]):
os.mkdir(path.rsplit("/", 2)[0])
path = "model_{}/Sess_all_cross-valid/{}emo_{}batch_lr-{}{}".format(model_type, cates, nb_batch, lr, freeze)
Supports Markdown
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