RVC-Boss / GPT-SoVITS

1 min voice data can also be used to train a good TTS model! (few shot voice cloning)
MIT License
36.25k stars 4.14k forks source link

达摩asr无法运行 #301

Closed ISDHN closed 10 months ago

ISDHN commented 10 months ago

Traceback (most recent call last): File "E:\AI\vits\GPT-SoVITS\tools\damo_asr\cmd-asr.py", line 26, in text = inference_pipeline(audio_in="%s/%s"%(dir,name))["text"] File "C:\Program Files\Python310\lib\site-packages\modelscope\pipelines\audio\funasr_pipeline.py", line 73, in call output = self.model(*args, kwargs) File "C:\Program Files\Python310\lib\site-packages\modelscope\models\base\base_model.py", line 35, in call return self.postprocess(self.forward(*args, *kwargs)) File "C:\Program Files\Python310\lib\site-packages\modelscope\models\audio\funasr\model.py", line 61, in forward output = self.model.generate(args, kwargs) TypeError: AutoModel.generate() missing 1 required positional argument: 'input'

达摩的asr好像换调用方式了

yihuitang commented 10 months ago

遇到同样的问题,根据requirements.txt把funasr升级到>=1.0.0后解决了

ISDHN commented 10 months ago

我是在1.0.3的asr下出的问题

RVC-Boss commented 10 months ago

pip install funasr==1.0.0更新一下

ISDHN commented 10 months ago

1.0.0、1.0.2、1.0.3都这样
damo funasr的repo里有这样一条issue: https://github.com/alibaba-damo-academy/FunASR/issues/1276

yihuitang commented 10 months ago

先卸载再安装试试呢,我是这么操作的

ISDHN commented 10 months ago

也是不行
请问您是哪一天克隆的asr三个模型 6天前asr的模型有更新

yihuitang commented 10 months ago

我用的今天最新的GPT-SoVITS代码库,发现asr错,就把funasr先卸载再安装的。也就是说都是今天安装的

ISDHN commented 10 months ago

好的解决了,我克隆的gpt-sovits不是最新的,谢谢

LauraGPT commented 10 months ago

If you still run with error, please raise issue in https://github.com/alibaba-damo-academy/FunASR

We have concluded the main difference between the funasr-1.0 and funasr-0.8.8: https://github.com/alibaba-damo-academy/FunASR/discussions/1319