From 55863557fee6f2d8c7e64bee084ec7b2df9eb5dd Mon Sep 17 00:00:00 2001 From: Kelly Davis Date: Sat, 15 Oct 2016 10:44:32 -0400 Subject: [PATCH] Fixed #59: Fixed ted_lium => batch_set --- DeepSpeech.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DeepSpeech.ipynb b/DeepSpeech.ipynb index e9752234..9fa4cdb5 100644 --- a/DeepSpeech.ipynb +++ b/DeepSpeech.ipynb @@ -607,7 +607,7 @@ "source": [ "def calculate_accuracy_and_loss(batch_set):\n", " # Obtain the next batch of data\n", - " batch_x, batch_y, n_steps = ted_lium.train.next_batch()\n", + " batch_x, batch_y, n_steps = batch_set.next_batch()\n", "\n", " # Set batch_seq_len for the batch\n", " batch_seq_len = batch_x.shape[0] * [n_steps]\n", @@ -645,7 +645,7 @@ "```python\n", "def calculate_accuracy_and_loss(batch_set):\n", " # Obtain the next batch of data\n", - " batch_x, batch_y, n_steps = ted_lium.train.next_batch()\n", + " batch_x, batch_y, n_steps = batch_set.next_batch()\n", "```\n", "simply obtian the next mini-batch of data.\n", "\n",