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)
|
diagnostic = diagnostics.attach_diagnostics(model, opts)
|
||||||
|
|
||||||
librispeech = LibriSpeechAsrDataModule(args)
|
librispeech = LibriSpeechAsrDataModule(args)
|
||||||
|
|
||||||
if params.full_libri:
|
if params.full_libri:
|
||||||
train_cuts = librispeech.train_all_shuf_cuts()
|
train_cuts = librispeech.train_all_shuf_cuts()
|
||||||
else:
|
else:
|
||||||
train_cuts = librispeech.train_clean_100_cuts()
|
train_cuts = librispeech.train_clean_10_cuts()
|
||||||
|
|
||||||
def remove_short_and_long_utt(c: Cut):
|
def remove_short_and_long_utt(c: Cut):
|
||||||
# Keep only utterances with duration between 1 second and 20 seconds
|
# Keep only utterances with duration between 1 second and 20 seconds
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user