summaryrefslogtreecommitdiff
path: root/training/mira/mira.py
diff options
context:
space:
mode:
Diffstat (limited to 'training/mira/mira.py')
-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 0980ef2e..539a0b0e 100755
--- a/training/mira/mira.py
+++ b/training/mira/mira.py
@@ -244,7 +244,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: