mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 18:24:18 +00:00
fix sytle
This commit is contained in:
parent
28d1e8660e
commit
46eab8b727
@ -540,7 +540,9 @@ def main():
|
|||||||
wenetspeech = WenetSpeechDataModule(args)
|
wenetspeech = WenetSpeechDataModule(args)
|
||||||
|
|
||||||
test_net_dl = wenetspeech.test_dataloaders(wenetspeech.test_net_cuts())
|
test_net_dl = wenetspeech.test_dataloaders(wenetspeech.test_net_cuts())
|
||||||
test_meetting_dl = wenetspeech.test_dataloaders(wenetspeech.test_meetting_cuts())
|
test_meetting_dl = wenetspeech.test_dataloaders(
|
||||||
|
wenetspeech.test_meetting_cuts()
|
||||||
|
)
|
||||||
|
|
||||||
test_sets = ["TEST_NET", "TEST_MEETTING"]
|
test_sets = ["TEST_NET", "TEST_MEETTING"]
|
||||||
test_dls = [test_net_dl, test_meetting_dl]
|
test_dls = [test_net_dl, test_meetting_dl]
|
||||||
|
@ -72,7 +72,9 @@ def compute_fbank_wenetspeech_dev_test():
|
|||||||
batch_duration=batch_duration,
|
batch_duration=batch_duration,
|
||||||
storage_type=LilcomHdf5Writer,
|
storage_type=LilcomHdf5Writer,
|
||||||
)
|
)
|
||||||
cut_set = cut_set.trim_to_supervisions(keep_overlapping=False, min_duration=None)
|
cut_set = cut_set.trim_to_supervisions(
|
||||||
|
keep_overlapping=False, min_duration=None
|
||||||
|
)
|
||||||
|
|
||||||
logging.info(f"Saving to {cuts_path}")
|
logging.info(f"Saving to {cuts_path}")
|
||||||
cut_set.to_file(cuts_path)
|
cut_set.to_file(cuts_path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user