diff options
author | Chris Dyer <redpony@gmail.com> | 2014-02-27 19:45:14 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2014-02-27 19:45:14 -0500 |
commit | 5675965782e2c9201a7a2fe54b542f5b06d660ef (patch) | |
tree | 2fefaf95c72f2caa72185e4579ad3b715e1cc5c4 /training/mira | |
parent | ed56625e5edeadbe9297680b07e269c42b7ea420 (diff) | |
parent | 53f4328e5e5cc72c6d483783edb85ba16b414caf (diff) |
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'training/mira')
-rwxr-xr-x | training/mira/mira.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/training/mira/mira.py b/training/mira/mira.py index 77f2f35f..ca549ed8 100755 --- a/training/mira/mira.py +++ b/training/mira/mira.py @@ -242,7 +242,7 @@ def evaluate(testset, weights, ini, script_dir, out_dir): evaluator = '{}/../utils/decode-and-evaluate.pl'.format(script_dir) try: p = subprocess.Popen([evaluator, '-c', ini, '-w', weights, '-i', testset, - '-d', out_dir], stdout=subprocess.PIPE) + '-d', out_dir, '--jobs', args.jobs], stdout=subprocess.PIPE) results, err = p.communicate() bleu, results = results.split('\n',1) except subprocess.CalledProcessError: |