From acb0a7fe71d72fc87c1dffd7c80254ae4b04e681 Mon Sep 17 00:00:00 2001 From: Michael McAuliffe Date: Mon, 26 Sep 2016 12:44:32 -0400 Subject: [PATCH] Fix name error --- aligner/aligner/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aligner/aligner/base.py b/aligner/aligner/base.py index 32b9f9eb..4bf78ae5 100644 --- a/aligner/aligner/base.py +++ b/aligner/aligner/base.py @@ -363,7 +363,7 @@ def _do_training(self, directory, config): stderr = logf) est_proc.communicate() self.parse_log_directory(log_directory, i) - if i < max_iter_inc: + if i < config.max_iter_inc: num_gauss += inc_gauss shutil.copy(os.path.join(directory,'{}.mdl'.format(config.num_iters)), os.path.join(directory,'final.mdl'))