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
2494a4cbb1
commit
3071006741
Binary file not shown.
Binary file not shown.
@ -1542,11 +1542,11 @@ def run_adapter(rank, world_size, args, wb=None):
|
||||
optimizer, scheduler = optimizer_adapter, scheduler_adapter
|
||||
|
||||
librispeech = LibriSpeechAsrDataModule(args)
|
||||
|
||||
train_cuts = librispeech.train_clean_100_cuts()
|
||||
|
||||
train_cuts = librispeech.train_clean_100_cuts(option='male')
|
||||
if params.full_libri:
|
||||
train_cuts += librispeech.train_clean_360_cuts()
|
||||
train_cuts += librispeech.train_other_500_cuts()
|
||||
train_cuts += librispeech.train_clean_360_cuts(option='male')
|
||||
train_cuts += librispeech.train_other_500_cuts(option='male')
|
||||
|
||||
def remove_short_and_long_utt(c: Cut):
|
||||
return 1.0 <= c.duration <= 20.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user