Yuanhang Zhang
2023-03-21 3b3aebb1247d29894c34c06ab4837c13917e4967
refs
用户 Yuanhang Zhang <sailordiary@users.noreply.github.com>
星期二, 三月 21, 2023 17:23 +0800
提交者 GitHub <noreply@github.com>
星期二, 三月 21, 2023 17:23 +0800
提交3b3aebb1247d29894c34c06ab4837c13917e4967
目录 aa301d51f9dc824f23536df3d3b45b4fdb09e26e 目录 | zip | gz
parent 4986ec2dd3012607e7bf771041cff45edc6c5045 查看 | 对比
Fix timestamp prediction on empty ASR outputs

_, timestamp = ts_prediction_lfr6_standard(us_alphas[i],
ValueError: not enough values to unpack (expected 2, got 0)

If char_list is empty, we should still return both the text (which is empty string) and the timestamps to fit the function signature.
1个文件已修改
2 ■■■ 已修改文件
funasr/utils/timestamp_tools.py 2 ●●● 对比 | 查看 | 原始文档 | blame | 历史