Commit d33f3c9b authored by Colleen Beaumard's avatar Colleen Beaumard
Browse files

Modification of scoring.py

parent bdd20367
......@@ -187,6 +187,9 @@ for e, t, v in zip(aepoch, tloss, vloss):
### Plotting of confusion matrix and losses ###
if model_type == "custom":
path = "model_{}/Sess{}_test/{}/{}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])
else:
path = "model_{}/Sess{}_test/{}emo_{}batch_lr-{}{}".format(model_type, ses_nb, 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