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
7892a0a5a6
commit
3fc8d0f230
Binary file not shown.
@ -262,8 +262,9 @@ def decode_one_batch(
|
||||
'''
|
||||
|
||||
if params.method == 'greedy-search' or params.method == 'ctc-decoding':
|
||||
print(nnet_output.size())
|
||||
exit()
|
||||
batch_size = nnet_output.size(0)
|
||||
for i in range(batch_size):
|
||||
print(nnet_output[i].topk(1))
|
||||
|
||||
if params.method == "ctc-decoding":
|
||||
best_path = one_best_decoding(
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user