From 605b036b67a66ebfa66bb8d752b74b8a6fc261de Mon Sep 17 00:00:00 2001 From: Kelly Davis Date: Mon, 28 Nov 2016 11:48:20 +0100 Subject: [PATCH] Address review comments --- DeepSpeech.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DeepSpeech.ipynb b/DeepSpeech.ipynb index 3d645639..e6c55f89 100644 --- a/DeepSpeech.ipynb +++ b/DeepSpeech.ipynb @@ -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",