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,
|
||||
)
|
||||
'''
|
||||
decode_one_batch_greedy(
|
||||
hyps = decode_one_batch_greedy(
|
||||
params=params,
|
||||
model=model,
|
||||
HLG=HLG,
|
||||
@ -481,6 +481,11 @@ def decode_dataset(
|
||||
eos_id=eos_id,
|
||||
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():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user