Merge pull request #60 from mozilla/issue59

Fixed #59: Fixed ted_lium => batch_set
This commit is contained in:
Kelly Davis 2016-10-15 10:45:27 -04:00 committed by GitHub
commit 030d487af6

View File

@ -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",