Address review comments

This commit is contained in:
Kelly Davis 2016-11-28 11:48:20 +01:00
parent 29ec75a58c
commit 605b036b67

View File

@ -1677,8 +1677,8 @@
" if result is not None:\n",
" train_wer = result\n",
" \n",
" # Checkpoint step\n",
" if is_checkpoint_step:\n",
" # Checkpoint step (Validation also checkpoints)\n",
" if is_checkpoint_step and not is_validation_step:\n",
" print \"Hibernating training session into directory\", \"%s\" % checkpoint_dir\n",
" checkpoint_path = os.path.join(checkpoint_dir, 'model.ckpt')\n",
" # Saving session's model into checkpoint path\n",