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'))