From 53f559957d7a87e94c0498170091bc30eadc8e18 Mon Sep 17 00:00:00 2001 From: Rico Sennrich Date: Fri, 6 Apr 2018 15:37:50 +0100 Subject: [PATCH] fix regression (from d8f43841) --- nematus/nmt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nematus/nmt.py b/nematus/nmt.py index f317f78c..2ca5d0c7 100755 --- a/nematus/nmt.py +++ b/nematus/nmt.py @@ -1398,7 +1398,7 @@ def train(dim_word=512, # word vector dimensionality # load prior model if specified if prior_model: logging.info('Loading prior model parameters') - params, model_options = load_params(prior_model, params, model_options, with_prefix='prior_') + params = load_params(prior_model, params, with_prefix='prior_') # language model parameters and # parameter initialization (deep fusion)