modelscope-funasr有人遇到这个问题吗?
assert 2 <= window_size <= len(waveform), "choose a window size {} that is [2, {}]".format(
AssertionError: choose a window size 400 that is [2, 0]
知道原因了,外面传入时要加 cache = {}, 这个问题比较隐藏,参数保存在self.vad_kwargs ,多次调用model.generate就会出错 ,此回答整理自钉群“modelscope-funasr社区交流”