From f28cf5f6a0148211e32a7b6ddec5ecab4321800a Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Mon, 16 Mar 2020 18:23:27 +0100 Subject: [PATCH] [utils/plot] Remove unused bits that were causing issues with 2nd-human plots --- bob/ip/binseg/utils/plot.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bob/ip/binseg/utils/plot.py b/bob/ip/binseg/utils/plot.py index bd9c2131..de1d531d 100644 --- a/bob/ip/binseg/utils/plot.py +++ b/bob/ip/binseg/utils/plot.py @@ -313,14 +313,6 @@ def plot_overview(outputfolders,title): re_ups.append(re_upper) re_lows.append(re_lower) modelname = folder.split('/')[-1] - datasetname = folder.split('/')[-2] - # parameters - summary_path = os.path.join(folder,'results/ModelSummary.txt') - with open (summary_path, "r") as outfile: - rows = outfile.readlines() - lastrow = rows[-1] - parameter = int(lastrow.split()[1].replace(',','')) - #name = '[P={:.2f}M] {} {}'.format(parameter/100**3, modelname, "") name = '{} '.format(modelname) names.append(name) #title = folder.split('/')[-4] -- GitLab