mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
a835a08654
commit
213297546e
Binary file not shown.
Binary file not shown.
@ -1032,11 +1032,11 @@ def run(rank, world_size, args, wb=None):
|
||||
diagnostic = diagnostics.attach_diagnostics(model, opts)
|
||||
|
||||
librispeech = LibriSpeechAsrDataModule(args)
|
||||
|
||||
|
||||
if params.full_libri:
|
||||
train_cuts = librispeech.train_all_shuf_cuts()
|
||||
else:
|
||||
train_cuts = librispeech.train_clean_100_cuts()
|
||||
train_cuts = librispeech.train_clean_10_cuts()
|
||||
|
||||
def remove_short_and_long_utt(c: Cut):
|
||||
# Keep only utterances with duration between 1 second and 20 seconds
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user