mirror of
https://github.com/mozilla/DeepSpeech.git
synced 2025-10-26 11:19:39 +00:00
Merge pull request #60 from mozilla/issue59
Fixed #59: Fixed ted_lium => batch_set
This commit is contained in:
commit
030d487af6
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user