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
38e2c69dff
commit
f9b2978544
BIN
egs/librispeech/ASR/conformer_ctc2/.decode.py.swp
Normal file
BIN
egs/librispeech/ASR/conformer_ctc2/.decode.py.swp
Normal file
Binary file not shown.
@ -873,6 +873,7 @@ def main() -> None:
|
|||||||
args.return_cuts = True
|
args.return_cuts = True
|
||||||
librispeech = LibriSpeechAsrDataModule(args)
|
librispeech = LibriSpeechAsrDataModule(args)
|
||||||
|
|
||||||
|
'''
|
||||||
dev_clean_cuts = librispeech.dev_clean_cuts()
|
dev_clean_cuts = librispeech.dev_clean_cuts()
|
||||||
dev_other_cuts = librispeech.dev_other_cuts()
|
dev_other_cuts = librispeech.dev_other_cuts()
|
||||||
test_clean_cuts = librispeech.test_clean_cuts()
|
test_clean_cuts = librispeech.test_clean_cuts()
|
||||||
@ -885,6 +886,14 @@ def main() -> None:
|
|||||||
|
|
||||||
test_sets = ["dev-clean", "dev-other", "test-clean", "test-other"]
|
test_sets = ["dev-clean", "dev-other", "test-clean", "test-other"]
|
||||||
test_dls = [dev_clean_dl, dev_other_dl, test_clean_dl, test_other_dl]
|
test_dls = [dev_clean_dl, dev_other_dl, test_clean_dl, test_other_dl]
|
||||||
|
'''
|
||||||
|
|
||||||
|
test_clean_cuts = librispeech.test_clean_cuts()
|
||||||
|
|
||||||
|
test_clean_dl = librispeech.test_dataloaders(test_clean_cuts)
|
||||||
|
|
||||||
|
test_sets = ["test-clean"]
|
||||||
|
test_dls = [test_clean_dl]
|
||||||
|
|
||||||
for test_set, test_dl in zip(test_sets, test_dls):
|
for test_set, test_dl in zip(test_sets, test_dls):
|
||||||
results_dict = decode_dataset(
|
results_dict = decode_dataset(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user