WLimin
WLimin
https://github.com/homieiot/homie-esp8266/pull/696 have a nice day.
The order in which we expect to initialize global class instances is as follows: 1. InterfaceData Interface::_ interface; ---it's in the Interface.cpp: _config=nullptr 2. HomieClass Homie; ---in the Homie.cpp, constructor:...
楼上有道理,按原始的transformers效果好一点,但是不能完全杜绝。多次测试,发现和随机数种子有巨大相关性。
我运行了vllm_example.py,完全不知道它干什么。 下面是我的版本列表。我的实验表明,刚运行初次加载模型,生成的语音是否正常和随机数种子相关,但设置随机数种子后再生成基本正常,包括更改种子数。但是,用内置的“中文女”像是女音,“中文男”还像女音…… ` (cosyvoice) webui@1324eb3a3bc4:/workspace/CosyVoice$ pip list Package Version --------------------------------- ------------- absl-py 2.3.1 aiofiles 23.2.1 aiohappyeyeballs 2.6.1 aiohttp 3.12.14 aiosignal 1.4.0 aliyun-python-sdk-core 2.16.0 aliyun-python-sdk-kms 2.16.5 annotated-types 0.7.0 antlr4-python3-runtime 4.9.3 anyio...
https://github.com/FunAudioLLM/CosyVoice/issues/1472
我直接修改wetext源代码,将库ID修改为绝对路径来解决让人讨厌的不联网情况下出错退出。本地目录应该下载好模型文件。 `sed -i -e "s#snapshot_download(\"pengzhendong/wetext\")#\"/home/${USER_NAME}/.cache/modelscope/hub/pengzhendong/wetext\"#g" /opt/conda/lib/python3.11/site-packages/wetext/wetext.py` 当然,这是不能模型联网下载,还有一种情况是模型联网检查更新,都会导致结束运行。更通用的解决办法是,try调用snapshot_download, 例外 或直接返回指向模型的本地路径字符串。
transformers 4.52 版本还有问题:选择模型:fire-red-tts。或者直接在TTS/FireRedTTS直接点生成。 ``` File "/app/Speech-AI-Forge/modules/webui/speaker/speaker_editor.py", line 24, in test_spk_voice return await tts_generate( ^^^^^^^^^^^^^^^^^^^ File "/app/Speech-AI-Forge/modules/webui/webui_utils.py", line 380, in tts_generate return await run_tts_pipe( ^^^^^^^^^^^^^^^^^^^ File "/app/Speech-AI-Forge/modules/webui/webui_utils.py", line 224, in run_tts_pipe...