From ef328a352e09a1536cf5889b7055fee1e250d032 Mon Sep 17 00:00:00 2001 From: Dan Povey Date: Tue, 2 Jan 2018 12:25:33 -0800 Subject: [PATCH] [scripts] Fix script issue affecting some xvector training (thanks: daniel garcia-romero) --- egs/wsj/s5/steps/libs/nnet3/train/frame_level_objf/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/wsj/s5/steps/libs/nnet3/train/frame_level_objf/common.py b/egs/wsj/s5/steps/libs/nnet3/train/frame_level_objf/common.py index 46eec2e3b87..8bdcd160409 100644 --- a/egs/wsj/s5/steps/libs/nnet3/train/frame_level_objf/common.py +++ b/egs/wsj/s5/steps/libs/nnet3/train/frame_level_objf/common.py @@ -506,7 +506,7 @@ def combine_models(dir, num_iters, models_to_combine, egs_dir, --verbose=3 {raw_models} \ "ark,bg:nnet3-copy-egs {multitask_egs_opts} \ {egs_rspecifier} ark:- | \ - nnet3-merge-egs --minibatch-size={mbsize} ark:- ark:- |" \ + nnet3-merge-egs --minibatch-size=1:{mbsize} ark:- ark:- |" \ "{out_model}" """.format(command=run_opts.command, combine_queue_opt=run_opts.combine_queue_opt,