summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@vivace.clab.cs.cmu.edu>2015-03-26 22:56:58 -0400
committerChris Dyer <cdyer@vivace.clab.cs.cmu.edu>2015-03-26 22:56:58 -0400
commite7d77de8a9b9929b22fc6562f88f3668900f9662 (patch)
tree10a38748c75b43ec09927f4433750c327defe67a
parent936959749c21f73b251531133bcf8b4f29acdde6 (diff)
fix sign bug
-rwxr-xr-xtraining/mira/mira.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/mira/mira.py b/training/mira/mira.py
index dc1bd724..b84eafad 100755
--- a/training/mira/mira.py
+++ b/training/mira/mira.py
@@ -204,7 +204,7 @@ def main():
args.devset = newdev
log_config(args)
- args.weights, hope_best_fear = optimize(args, script_dir, dev_size)
+ args.weights, hope_best_fear = optimize(args, script_dir, dev_size, score_sign)
graph_file = ''
if have_mpl: graph_file = graph(args.output_dir, hope_best_fear, args.metric)