diff --git a/deeprank/learn/NeuralNet.py b/deeprank/learn/NeuralNet.py index 18d54f60..b2125593 100644 --- a/deeprank/learn/NeuralNet.py +++ b/deeprank/learn/NeuralNet.py @@ -215,9 +215,8 @@ def __init__(self, data_set, model, # output directory self.outdir = outdir - if self.plot: - if not os.path.isdir(self.outdir): - os.mkdir(outdir) + if not os.path.isdir(self.outdir): + os.mkdir(outdir) # ------------------------------------------ # Network