mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 18:12:19 +00:00
Fix a bug in decode.py (#893)
Co-authored-by: yifanyang <yifanyeung@yifanyangs-MacBook-Pro.local>
This commit is contained in:
parent
e916027bfe
commit
5cd1636cb3
@ -481,7 +481,6 @@ def decode_one_batch(
|
|||||||
res = DecodingResults(hyps=tokens, timestamps=timestamps)
|
res = DecodingResults(hyps=tokens, timestamps=timestamps)
|
||||||
|
|
||||||
hyps, timestamps = parse_hyp_and_timestamp(
|
hyps, timestamps = parse_hyp_and_timestamp(
|
||||||
decoding_method=params.decoding_method,
|
|
||||||
res=res,
|
res=res,
|
||||||
sp=sp,
|
sp=sp,
|
||||||
subsampling_factor=params.subsampling_factor,
|
subsampling_factor=params.subsampling_factor,
|
||||||
|
@ -525,7 +525,6 @@ def decode_one_batch(
|
|||||||
res = DecodingResults(hyps=tokens, timestamps=timestamps)
|
res = DecodingResults(hyps=tokens, timestamps=timestamps)
|
||||||
|
|
||||||
hyps, timestamps = parse_hyp_and_timestamp(
|
hyps, timestamps = parse_hyp_and_timestamp(
|
||||||
decoding_method=params.decoding_method,
|
|
||||||
res=res,
|
res=res,
|
||||||
sp=sp,
|
sp=sp,
|
||||||
subsampling_factor=params.subsampling_factor,
|
subsampling_factor=params.subsampling_factor,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user