FunASR/funasr/utils
Yuanhang Zhang 3b3aebb124
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.
2023-03-21 17:23:26 +08:00
..
__init__.py create 2022-11-26 21:56:51 +08:00
asr_env_checking.py update funasr 0.1.3 2022-12-03 16:39:38 +08:00
asr_utils.py update audio type check 2023-03-17 20:09:02 +08:00
build_dataclass.py create 2022-11-26 21:56:51 +08:00
cli_utils.py create 2022-11-26 21:56:51 +08:00
compute_eer.py update version 0.1.6 2023-01-16 18:46:40 +08:00
compute_min_dcf.py update version 0.1.6 2023-01-16 18:46:40 +08:00
compute_wer.py update version 0.1.6 2023-01-16 18:46:40 +08:00
config_argparse.py create 2022-11-26 21:56:51 +08:00
get_default_kwargs.py create 2022-11-26 21:56:51 +08:00
griffin_lim.py create 2022-11-26 21:56:51 +08:00
job_runner.py add sond model 2023-02-10 18:56:14 +08:00
misc.py add sond model 2023-02-10 18:56:14 +08:00
modelscope_param.py upload github.io 2023-02-08 17:30:19 +08:00
nested_dict_action.py create 2022-11-26 21:56:51 +08:00
postprocess_utils.py modify abbr postprocess 2023-03-21 12:55:16 +08:00
sized_dict.py create 2022-11-26 21:56:51 +08:00
timestamp_tools.py Fix timestamp prediction on empty ASR outputs 2023-03-21 17:23:26 +08:00
types.py create 2022-11-26 21:56:51 +08:00
wav_utils.py Update wav_utils.py 2023-03-03 10:33:51 +08:00
yaml_no_alias_safe_dump.py create 2022-11-26 21:56:51 +08:00