Log parser loop.
@@ -21,7 +21,9 @@ found_eval = False
train_tasks = None
dropout = None
elmo = None
-with open(sys.argv[1]) as f:
+
+for path in sys.argv[1:]:
+ with open(path) as f:
for line in f:
line = line.strip()
@@ -62,6 +64,7 @@ for mv in results_line.strip().split(','):
metric, value = mv.split(':')
cols[metric.strip()] = '%.02f'%(100*float(value.strip()))
+ print(path)
print('\t'.join(col_order))
print('\t'.join([cols[c] for c in col_order]))
