KevinWang676 / Bark-Voice-Cloning

Bark Voice Cloning and Voice Cloning for Chinese Speech
MIT License
2.74k stars 396 forks source link

colab运行离线ASR报错 #88

Closed rongchenlin closed 7 months ago

rongchenlin commented 8 months ago

2024-01-24 12:16:50,707 - modelscope - WARNING - ('PIPELINES', 'auto-speech-recognition', 'asr-inference') not found in ast index file Traceback (most recent call last): File "/lders/gpt-sovits/tools/damo_asr/cmd-asr.py", line 9, in inference_pipeline = pipeline( File "/usr/local/lib/python3.10/dist-packages/modelscope/pipelines/builder.py", line 170, in pipeline return build_pipeline(cfg, task_name=task) File "/usr/local/lib/python3.10/dist-packages/modelscope/pipelines/builder.py", line 65, in build_pipeline return build_from_cfg( File "/usr/local/lib/python3.10/dist-packages/modelscope/utils/registry.py", line 198, in build_from_cfg raise KeyError( KeyError: 'asr-inference is not in the pipelines registry group auto-speech-recognition. Please make sure the correct version of ModelScope library is used.'

LauraGPT commented 8 months ago

The code should update with funasr-1.0, Solution in here: https://github.com/alibaba-damo-academy/FunASR/discussions/1319

rongchenlin commented 8 months ago

Thanks, your solution is very effective.

KevinWang676 commented 8 months ago

@rongchenlin The original code in Colab Notebook would still work although it is not recommended by ModelScope.