modelscope-funasr的Google不到相关的信息
排查方向?版本问题?Linux
PyTorch version 2.2.1
Modelscope 1.12.0
Funasr-1.0
遵循的链接:
https://www.modelscope.cn/models/iic/speech_paraformer_asr_nat-zh-cn-16k-common-vocab8358-tensorflow1/summary
https://github.com/alibaba-damo-academy/FunASR#installation
执行:
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks
inference_pipeline = pipeline(
task=Tasks.auto_speech_recognition,
model='iic/speech_paraformer_asr_nat-zh-cn-16k-common-vocab8358-tensorflow1', model_revision="v2.0.4")
rec_result = inference_pipeline('https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav')
print(rec_result)
错误:
omegaconf.errors.UnsupportedValueType: FunASRPipeline: GenericFunASR: Value 'CharTokenizer' is not a supported primitive type
full_key: tokenizer
object_type=dict