from local

This commit is contained in:
dohe0342 2022-12-29 11:12:49 +09:00
parent d29f691b8d
commit 5e8b8f3463
2 changed files with 3 additions and 3 deletions

View File

@ -1551,10 +1551,10 @@ def run_adapter(rank, world_size, args, wb=None):
librispeech = LibriSpeechAsrDataModule(args) librispeech = LibriSpeechAsrDataModule(args)
train_cuts = librispeech.train_clean_100_cuts(option='male') train_cuts = librispeech.train_clean_100_cuts(option=params.gender)
if params.full_libri: if params.full_libri:
train_cuts += librispeech.train_clean_360_cuts(option='male') train_cuts += librispeech.train_clean_360_cuts(option=params.gender)
train_cuts += librispeech.train_other_500_cuts(option='male') train_cuts += librispeech.train_other_500_cuts(option=params.gender)
def remove_short_and_long_utt(c: Cut): def remove_short_and_long_utt(c: Cut):
return 1.0 <= c.duration <= 20.0 return 1.0 <= c.duration <= 20.0