open-mmlab / Amphion

Amphion (/æmˈfaɪən/) is a toolkit for Audio, Music, and Speech Generation. Its purpose is to support reproducible research and help junior researchers and engineers get started in the field of audio, music, and speech generation research and development.
https://openhlt.github.io/amphion/
MIT License
7.73k stars 586 forks source link

[BUG]: Error processing file '/usr/share/espeak-ng-data\phontab': No such file or directory. #299

Open wangzy88 opened 3 weeks ago

wangzy88 commented 3 weeks ago

Describe the bug

Every time you click on synthesis, two warnings will be reported first and then an error will be reported. The following is the complete console information:

.\py311_cu118\python.exe local_test.py -t "xx" -p "xx" -a "C:\Users\xx\AppData\Local\Temp\gradio\a8f35571e8da7a87c7da4f4376de60fd03f12e2b4074af14c53dcefb06679101\1258081606-1-16.mp4_5926400_6154880.wav" -l zh -lt zh
E:\Workspace\AI\Mask-GCT\py311_cu118\Lib\site-packages\transformers\utils\hub.py:124: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.
  warnings.warn(
./models/tts/maskgct/g2p\sources\g2p_chinese_model\poly_bert_model.onnx
E:\Workspace\AI\Mask-GCT\py311_cu118\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py:69: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider, CPUExecutionProvider'
  warnings.warn(
Error processing file '/usr/share/espeak-ng-data\phontab': No such file or directory.

Environment Information

yuantuo666 commented 3 weeks ago

Hi, the MaskGCT is built in a Linux environment. For a better coding experience, it is recommended that Linux be used to reproduce. Besides, we prefer English issues in this repository. (all Chinese questions have been translated into English via Google Translate)

yuantuo666 commented 3 weeks ago

For people who are having problem in configuring the env on a Windows machine, you can try to follow this blog post: https://www.cnblogs.com/v3ucn/p/18511187