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
0241061df8
commit
77cfdfc118
Binary file not shown.
Binary file not shown.
@ -821,13 +821,15 @@ def main():
|
|||||||
# we need cut ids to display recognition results.
|
# we need cut ids to display recognition results.
|
||||||
args.return_cuts = True
|
args.return_cuts = True
|
||||||
tedlium = TedLiumAsrDataModule(args)
|
tedlium = TedLiumAsrDataModule(args)
|
||||||
valid_cuts = tedlium.dev_cuts()
|
#valid_cuts = tedlium.dev_cuts()
|
||||||
test_cuts = tedlium.test_cuts()
|
test_cuts = tedlium.test_cuts()
|
||||||
valid_dl = tedlium.test_dataloaders(valid_cuts)
|
#valid_dl = tedlium.test_dataloaders(valid_cuts)
|
||||||
test_dl = tedlium.test_dataloaders(test_cuts)
|
test_dl = tedlium.test_dataloaders(test_cuts)
|
||||||
|
|
||||||
test_sets = ['dev', 'test']
|
#test_sets = ['dev', 'test']
|
||||||
test_dl = [valid_dl, test_dl]
|
#test_dl = [valid_dl, test_dl]
|
||||||
|
test_sets = ['test']
|
||||||
|
test_dl = [test_dl]
|
||||||
|
|
||||||
for test_set, test_dl in zip(test_sets, test_dl):
|
for test_set, test_dl in zip(test_sets, test_dl):
|
||||||
results_dict = decode_dataset(
|
results_dict = decode_dataset(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user