xiaolongww
xiaolongww
> @xiaolongww 你用的是什么安卓设备? pico neo3
well ,i think it likes quest2,i will try it on quest2
ohno,i can't Reproduce on quest2,it looks ok
期待 +1
解决了,我将api.py中的torch.mps.empty_cache() 行注释即可,因为这个是苹果系统用的。。(mps==metal performance shaders) https://developer.apple.com/documentation/metalperformanceshaders?language=objc
可以通过这种方式查看是否有nltk: import nltk print("nltk data path:", nltk.data.path) 通过这种方式,我知道了在C:\Users\Administrator\AppData\Roaming\ntlk_data有这部分数据;而且当另一台计算机出现Resource cmudict not found.Please use the NLTK Downloader to obtain the resource: 时,我直接把这个文件夹的数据拷过去即可 
[报错文档.txt](https://github.com/RVC-Boss/GPT-SoVITS/files/14177693/default.txt) 问题复现步骤:Windows10 VSCode打开下载好的整合包文件夹,找到api,py运行。结果发现有api,py中有部分模块未识别,于是创建虚拟环境并进入虚拟环境后安装requirement.txt,最后重启vscode,再次启动api.py后获得上面报错。 查看了文档的常见报错和报错合集,并没有发现类似的问题。有人知道该怎么解决吗?感激不尽!
噢我用的virtualenv来创建的,我试试conda;
 创建好环境并激活后,启动出现ModuleNotFoundError: No module named 'feature_extractor',但是我在settings.json中设置了 "python.analysis.extraPaths": [ "./GPT_SoVITS" ] 另外,GPT_SoVITS、feature_extractor和api.py的目录结构是: ---GPT_SoVITS |---feature_extractor |---cnhubert.py ---api.py
>  创建好环境并激活后,启动出现ModuleNotFoundError: No module named 'feature_extractor',但是我在settings.json中设置了 "python.analysis.extraPaths": [ "./GPT_SoVITS" ] 另外,GPT_SoVITS、feature_extractor和api.py的目录结构是: ---GPT_SoVITS |---feature_extractor |---cnhubert.py ---api.py 我删除了.vscode/setting.json并重启vscode后,可以运行api,py,显示ffmpeg错误