模型可以使用FunASR的AutoModel,并集成CAM++、PUNC、VAD等模型吗
Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
❓ Questions and Help
Before asking:
- search the issues.
- search the docs.
What is your question?
Code
What have you tried?
What's your environment?
- OS (e.g., Linux):
- FunASR Version (e.g., 1.0.0):
- ModelScope Version (e.g., 1.11.0):
- PyTorch Version (e.g., 2.0.0):
- How you installed funasr (
pip, source): - Python version:
- GPU (e.g., V100M32)
- CUDA/cuDNN version (e.g., cuda11.7):
- Docker version (e.g., funasr-runtime-sdk-cpu-0.4.1)
- Any other relevant information:
启用 CAM++ 后一直出错:
model_dir = "iic/SenseVoiceSmall"
model = AutoModel(
model=model_dir,
vad_model="fsmn-vad",
vad_kwargs={"max_single_segment_time": 10000},
punc_model="ct-punc",
spk_model="cam++",
device="cpu",
)
错误信息如下:
WARNING:root:length mismatch between punc and timestamp | 1/1 [00:00<00:00, 15.47it/s]
Traceback (most recent call last):
File "/home/xxx/projects/ai/src/funasr/sensevoice.py", line 23, in
我遇到这种情况,估计还不支持CAM++,你现在解决了吗