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
8f17940b4f
commit
ebfa050452
Binary file not shown.
Binary file not shown.
@ -1556,11 +1556,13 @@ def run_adapter(rank, world_size, args, wb=None):
|
||||
|
||||
librispeech = LibriSpeechAsrDataModule(args)
|
||||
|
||||
train_cuts = librispeech.train_clean_10_cuts(option=params.gender)
|
||||
'''
|
||||
train_cuts = librispeech.train_clean_100_cuts(option=params.gender)
|
||||
if params.full_libri:
|
||||
train_cuts += librispeech.train_clean_360_cuts(option=params.gender)
|
||||
train_cuts += librispeech.train_other_500_cuts(option=params.gender)
|
||||
|
||||
'''
|
||||
def remove_short_and_long_utt(c: Cut):
|
||||
return 1.0 <= c.duration <= 20.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user