relase librispeech audio max len to 30 second

pull/813/head
Hui Zhang 3 years ago
parent 2d8c608773
commit 184d30dd9c

@ -44,7 +44,7 @@ def feat_dim_and_vocab_size(data_json: List[Dict[Text, Any]],
def batch_collate(x): def batch_collate(x):
"""de-tuple. """de-minibatch, since user compose batch.
Args: Args:
x (List[Tuple]): [(utts, xs, ilens, ys, olens)] x (List[Tuple]): [(utts, xs, ilens, ys, olens)]

@ -4,7 +4,7 @@ data:
dev_manifest: data/manifest.dev-clean dev_manifest: data/manifest.dev-clean
test_manifest: data/manifest.test-clean test_manifest: data/manifest.test-clean
min_input_len: 0.0 min_input_len: 0.0
max_input_len: 27.0 # second max_input_len: 30.0 # second
min_output_len: 0.0 min_output_len: 0.0
max_output_len: .inf max_output_len: .inf
min_output_input_ratio: 0.00 min_output_input_ratio: 0.00

@ -4,7 +4,7 @@ data:
dev_manifest: data/manifest.dev-clean dev_manifest: data/manifest.dev-clean
test_manifest: data/manifest.test-clean test_manifest: data/manifest.test-clean
min_input_len: 0.0 min_input_len: 0.0
max_input_len: 27.0 # second max_input_len: 30.0 # second
min_output_len: 0.0 min_output_len: 0.0
max_output_len: .inf max_output_len: .inf
min_output_input_ratio: 0.00 min_output_input_ratio: 0.00

@ -22,7 +22,7 @@ collator:
batch_frames_out: 0 batch_frames_out: 0
batch_frames_inout: 0 batch_frames_inout: 0
augmentation_config: conf/augmentation.json augmentation_config: conf/augmentation.json
num_workers: 2 num_workers: 0
subsampling_factor: 1 subsampling_factor: 1
num_encs: 1 num_encs: 1

@ -4,7 +4,7 @@ data:
dev_manifest: data/manifest.tiny dev_manifest: data/manifest.tiny
test_manifest: data/manifest.tiny test_manifest: data/manifest.tiny
min_input_len: 0.0 min_input_len: 0.0
max_input_len: 27.0 max_input_len: 30.0
min_output_len: 0.0 min_output_len: 0.0
max_output_len: 400.0 max_output_len: 400.0
min_output_input_ratio: 0.05 min_output_input_ratio: 0.05

@ -4,7 +4,7 @@ data:
dev_manifest: data/manifest.tiny dev_manifest: data/manifest.tiny
test_manifest: data/manifest.tiny test_manifest: data/manifest.tiny
min_input_len: 0.5 # second min_input_len: 0.5 # second
max_input_len: 20.0 # second max_input_len: 30.0 # second
min_output_len: 0.0 # tokens min_output_len: 0.0 # tokens
max_output_len: 400.0 # tokens max_output_len: 400.0 # tokens
min_output_input_ratio: 0.05 min_output_input_ratio: 0.05

Loading…
Cancel
Save