Skip to content

Commit

Permalink
Merge pull request Rayhane-mamah#133 from hiroto911/fix_load_model
Browse files Browse the repository at this point in the history
Fix bug loading model
  • Loading branch information
Rayhane-mamah authored Aug 8, 2018
2 parents e2c2275 + 15dcb4d commit a94b9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tacotron/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def train(log_dir, args, hparams):

if (checkpoint_state and checkpoint_state.model_checkpoint_path):
log('Loading checkpoint {}'.format(checkpoint_state.model_checkpoint_path), slack=True)
load_averaged_model(sess, sh_saver, checkpoint_state.model_checkpoint_path)
saver.restore(sess, checkpoint_state.model_checkpoint_path)
else:
log('No model to load at {}'.format(save_dir), slack=True)

Expand Down

0 comments on commit a94b9d2

Please sign in to comment.