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
64b4e778c9
commit
0ebc59866a
Binary file not shown.
@ -470,7 +470,7 @@ def decode_dataset(
|
|||||||
token_dict=token_dict,
|
token_dict=token_dict,
|
||||||
)
|
)
|
||||||
'''
|
'''
|
||||||
decode_one_batch_greedy(
|
hyps = decode_one_batch_greedy(
|
||||||
params=params,
|
params=params,
|
||||||
model=model,
|
model=model,
|
||||||
HLG=HLG,
|
HLG=HLG,
|
||||||
@ -482,6 +482,11 @@ def decode_dataset(
|
|||||||
token_dict=token_dict,
|
token_dict=token_dict,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
for i, hyp in enumerate(hyps):
|
||||||
|
print('hyp = ', hyp)
|
||||||
|
print('ref = ', texts[i])
|
||||||
|
print('')
|
||||||
|
|
||||||
'''
|
'''
|
||||||
for lm_scale, hyps in hyps_dict.items():
|
for lm_scale, hyps in hyps_dict.items():
|
||||||
this_batch = []
|
this_batch = []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user