FunASR icon indicating copy to clipboard operation
FunASR copied to clipboard

fsmn-vad是否支持endpoint检测呢

Open fclearner opened this issue 1 year ago • 2 comments

配置文件里面是有这个do_end_point_detection选项的,但我看e2e_vad.py中的代码,什么都没做直接pass了,所以比较好奇是其他地方做了,还是在计划内但还没有支持,提前感谢大佬解惑

'''vad.yaml vad_post_conf: sample_rate: 8000 detect_mode: 1 snr_mode: 0 max_end_silence_time: 800 max_start_silence_time: 3000 do_start_point_detection: True do_end_point_detection: False '''

代码位置: https://github.com/alibaba-damo-academy/FunASR/blob/172e7ac986f299ad545cbd91a8cecc3ef967af36/funasr/models/e2e_vad.py#L414

fclearner avatar Dec 11 '23 03:12 fclearner

对了,是不是直接按照多任务训练(添加了一个句尾判断的任务),所以模型本身的输出就是带有endpoint检测能力的

fclearner avatar Dec 11 '23 03:12 fclearner

@lingyunfly 凌匀大佬,有空回复下呗,感谢

fclearner avatar Dec 14 '23 02:12 fclearner