Skip to content

Commit 7515032

Browse files
haozha111qlzh727
authored andcommitted
Fix typo in deep_speech (#4746)
* update * update * Update deep_speech.py
1 parent d90f558 commit 7515032

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

research/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ request.
2222
for visual navigation.
2323
- [compression](compression): compressing and decompressing images using a
2424
pre-trained Residual GRU network.
25+
- [deep_speech](deep_speech): automatic speech recognition.
2526
- [deeplab](deeplab): deep labeling for semantic image segmentation.
2627
- [delf](delf): deep local features for image matching and retrieval.
2728
- [differential_privacy](differential_privacy): differential privacy for training

research/deep_speech/deep_speech.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -326,12 +326,12 @@ def define_deep_speech_flags():
326326
# Deep speech flags
327327
flags.DEFINE_string(
328328
name="train_data_dir",
329-
default="/tmp/librispeech_data/test-clean/LibriSpeech/test-clean-20.csv",
329+
default="/tmp/librispeech_data/train-clean/LibriSpeech/train-clean.csv",
330330
help=flags_core.help_wrap("The csv file path of train dataset."))
331331

332332
flags.DEFINE_string(
333333
name="eval_data_dir",
334-
default="/tmp/librispeech_data/test-clean/LibriSpeech/test-clean-20.csv",
334+
default="/tmp/librispeech_data/dev-clean/LibriSpeech/dev-clean.csv",
335335
help=flags_core.help_wrap("The csv file path of evaluation dataset."))
336336

337337
flags.DEFINE_bool(

research/deep_speech/deep_speech_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def batch_norm(inputs, training):
6060

6161
def _conv_bn_layer(inputs, padding, filters, kernel_size, strides, layer_id,
6262
training):
63-
"""Defines 2D constitutional + batch normalization layer.
63+
"""Defines 2D convolutional + batch normalization layer.
6464
6565
Args:
6666
inputs: input data for convolution layer.

research/deep_speech/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
nltk>=3.3
2+
pandas>=0.23.3
23
soundfile>=0.10.2
34
sox>=1.3.3

0 commit comments

Comments
 (0)