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
b9e054ad43
commit
249647d4b5
Binary file not shown.
@ -778,7 +778,7 @@ 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):
|
def remove_short_and_long_utt(c):
|
||||||
return 1.0 <= c.duration <= 20.0
|
return 1.0 <= c.duration <= 20.0
|
||||||
|
|
||||||
test_clean_cuts = test_clean_cuts.filter(remove_short_and_long_utt)
|
test_clean_cuts = test_clean_cuts.filter(remove_short_and_long_utt)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user