Closed ZilongYang closed 7 months ago
我也是这个问题,请问找到解决方法了吗?
我也是这个问题,请问找到解决方法了吗?
see #256
@ZilongYang 应该是 pretrained_models 目录放错了,如果你 clone 到了 GPT-SoVITS,里面还有个 GPT-SoVITS 目录,pretrained_models 应该放在里面那个 GPT-SoVITS。
意思就是在GPT-SoVITS文件夹中新建一个temp.py文件,temp.py文件里填入
import nltk
nltk.download('cmudict')
然后进入Python虚拟环境运行temp.py
文件就可以了对吗?
@ZilongYang 应该是 pretrained_models 目录放错了,如果你 clone 到了 GPT-SoVITS,里面还有个 GPT-SoVITS 目录,pretrained_models 应该放在里面那个 GPT-SoVITS。
模型放对了也是同样的报错:
搞了一下午 第一国内包有限制 需要自己下 需要的qq邮箱:xldstudio@qq.com 解压完要放到用户目录下 第二 里面要放模型才能运行
确保预训练模型全部正确下载并切放到对应的位置,类似这样:
还不行的话试试克隆最新代码,之前有一次代码是出问题的
@Lion-Wu 我觉得模型好像很正确啊 而且代码是今天克隆的
里面的文件不太一样吧,确保pretrained_models文件夹已经包含了这个链接中的所有模型文件,文件名也要一样。或者用我那个网盘的文件里面的模型文件拖进去。
@ZilongYang 应该是 pretrained_models 目录放错了,如果你 clone 到了 GPT-SoVITS,里面还有个 GPT-SoVITS 目录,pretrained_models 应该放在里面那个 GPT-SoVITS。
确保预训练模型全部正确下载并切放到对应的位置,类似这样:
还不行的话试试克隆最新代码,之前有一次代码是出问题的
里面的文件不太一样吧,确保pretrained_models文件夹已经包含了这个链接中的所有模型文件,文件名也要一样。或者用我那个网盘的文件里面的模型文件拖进去。
clone 了链接里的仓库里的文件,并放到了对应的位置,一键三连成功!
我clone了最新版,果然是模型放错位置了,感谢大佬 @ZilongYang