from local
This commit is contained in:
parent
f22df97e00
commit
ac2f7118c9
Binary file not shown.
Binary file not shown.
@ -778,6 +778,10 @@ def main():
|
|||||||
#test_other_cuts = librispeech.test_other_cuts(option='male')
|
#test_other_cuts = librispeech.test_other_cuts(option='male')
|
||||||
|
|
||||||
test_clean_cuts = librispeech.vox_cuts(option=params.spk_id)
|
test_clean_cuts = librispeech.vox_cuts(option=params.spk_id)
|
||||||
|
def remove_short_and_long_utt(c: Cut):
|
||||||
|
return 1.0 <= c.duration <= 20.0
|
||||||
|
|
||||||
|
train_cuts = train_cuts.filter(remove_short_and_long_utt)
|
||||||
#test_clean_cuts = librispeech.test_clean_user(option=option)
|
#test_clean_cuts = librispeech.test_clean_user(option=option)
|
||||||
#test_other_cuts = librispeech.test_other_user(option=option)
|
#test_other_cuts = librispeech.test_other_user(option=option)
|
||||||
#test_clean_dl = librispeech.train_dataloaders(test_clean_cuts)
|
#test_clean_dl = librispeech.train_dataloaders(test_clean_cuts)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user