from local

This commit is contained in:
dohe0342 2023-01-13 17:26:09 +09:00
parent a835a08654
commit 213297546e
3 changed files with 2 additions and 2 deletions

View File

@ -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