Skip to content

Commit

Permalink
fix regression (from d8f4384)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsennrich committed Apr 6, 2018
1 parent 8ee807b commit 53f5599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nematus/nmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 53f5599

Please sign in to comment.