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