Artrajz / vits-simple-api

A simple VITS HTTP API, developed by extending Moegoe with additional features.
GNU Affero General Public License v3.0
822 stars 121 forks source link

生成的yaml文件与实际的配置路径不符,以及实例文件问题 #144

Closed Container-Zero closed 7 months ago

Container-Zero commented 9 months ago

运行环境

问题描述

1.config.py文件中预设的文件路径与实际预留的路径不符:

hubert_soft_0d54a1f4: str = "hubert_soft/hubert-soft-0d54a1f4.pt"
# w2v2-vits: .npy file or folder are alvailable
dimensional_emotion_npy: Union[str, List[str]] = "dimensional_emotion_npy"
# w2v2-vits: Need to have both `models.onnx` and `models.yaml` files in the same path.
dimensional_emotion_model: str = "dimensional_emotion_model/models.yaml"

应为:

hubert_soft_0d54a1f4: str = "models/hubert-soft-0d54a1f4.pt"
# w2v2-vits: .npy file or folder are alvailable
dimensional_emotion_npy: Union[str, List[str]] = "emotional/dimensional_emotion_npy"
# w2v2-vits: Need to have both `models.onnx` and `models.yaml` files in the same path.
dimensional_emotion_model: str = "emotional/dimensional_emotion_model/models.yaml"

2.您huggingface space示例中的第40号speaker : ルイズ,也就是位于models/louise文件夹的模型会报错:

ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/user/.local/lib/python3.10/site-packages/opencc/clib/opencc_clib.cpython-310-x86_64-linux-gnu.so)

问题复现步骤

Artrajz commented 9 months ago

config.py文件中预设的文件路径与实际预留的路径不符:

感谢反馈!

ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found

应该是opencc更新之后出现的问题,降级为opencc==1.1.6就正常了