PaddlePaddle / PaddleSpeech

Easy-to-use Speech Toolkit including Self-Supervised Learning model, SOTA/Streaming ASR with punctuation, Streaming TTS with text frontend, Speaker Verification System, End-to-End Speech Translation and Keyword Spotting. Won NAACL2022 Best Demo Award.
https://paddlespeech.readthedocs.io
Apache License 2.0
10.99k stars 1.83k forks source link

是否有办法绕过glibc_2.23的依赖 #3611

Closed thinkboy closed 10 months ago

thinkboy commented 10 months ago

我是本地部署的。执行到该步骤的时候没有在exp_demo/mfa/下生成new_dir。我本地的glibc是2.17版本。但是又不太方便升级这么底层的包,请问是否有办法绕过呢?

mfa_align /home/aistudio/work/exp_demo/new_dir tools/aligner/simple.lexicon tools/aligner/aishell3_model.zip /home/aistudio/work/exp_demo/mfa
align.py:60: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Setting up corpus information...
Number of speakers in corpus: 1, average number of utterances per speaker: 5.0
/home/data/aistudio/PaddleSpeech/examples/other/tts_finetune/tts3/tools/montreal-forced-aligner/lib/aligner/models.py:87: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Creating dictionary information...
fstcompile: /lib64/libm.so.6: version `GLIBC_2.23' not found (required by /home/data/aistudio/PaddleSpeech/examples/other/tts_finetune/tts3/tools/montreal-forced-aligner/lib/thirdparty/bin/libfstscript.so.13)
fstarcsort: /lib64/libm.so.6: version `GLIBC_2.23' not found (required by /home/data/aistudio/PaddleSpeech/examples/other/tts_finetune/tts3/tools/montreal-forced-aligner/lib/thirdparty/bin/libfstscript.so.13)
fstcompile: /lib64/libm.so.6: version `GLIBC_2.23' not found (required by /home/data/aistudio/PaddleSpeech/examples/other/tts_finetune/tts3/tools/montreal-forced-aligner/lib/thirdparty/bin/libfstscript.so.13)
fstarcsort: /lib64/libm.so.6: version `GLIBC_2.23' not found (required by /home/data/aistudio/PaddleSpeech/examples/other/tts_finetune/tts3/tools/montreal-forced-aligner/lib/thirdparty/bin/libfstscript.so.13)
Setting up training data...
Calculating MFCCs...
Calculating CMVN...
Number of speakers in corpus: 1, average number of utterances per speaker: 5.0
Done with setup.
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:01<00:00,  1.24it/s]
Done! Everything took 3.8951380252838135 seconds
thinkboy commented 10 months ago

因为想要升级glibc,那么make和gcc都要连带升级。。太痛苦了。

mzgcz commented 10 months ago

使用容器会比较方便 :-)

thinkboy commented 10 months ago

我升级系统到centos8了。

fancyerii commented 7 months ago

可以参考我的这篇文章在同一台Linux机器上安装多个版本GLIBC