aiaimimi0920
aiaimimi0920
@futureflsl I think I have solved the issue of Windows compilation. You can try my method: https://github.com/huakunyang/SummerTTS/issues/35
所以你是卡在哪一步?总要有个编译报错之类的把?
@jark006 话说哥们知道这个模型怎么训练吗?我想训练其他的角色模型
@jark006 作者好像已经联系不到了,发邮件都没见回复的。。 @huakunyang 大佬冒个泡呗
@futureflsl @wzbcat @943fansi I think I have solved the issue of Windows compilation. You can try my method: https://github.com/huakunyang/SummerTTS/issues/35
@huakunyang 因为我是为了我的项目制作的内容:https://github.com/aiaimimi0920/godot-tts 所以我无法直接为你提供pr,需要你自己做一定的修改,或者可以粘贴我项目中的thirdparty/SummerTTS文件, 注意我将openfst更新了版本,你引用的库有一个相关的更新,我采用了更新,用老版本应该也没问题 1. 关于我说的glog和gflags编译的问题,你需要自行实现,我是通过github的action实现的,因为我整个项目是通过github的action自动打包的:https://github.com/aiaimimi0920/godot-tts/actions/runs/7431890578 相关的build代码你可以参考一下:https://github.com/aiaimimi0920/godot-tts/blob/main/.github/workflows/windows_builds.yml 。 我本来想提供一个pr,但是就是因为感觉删除glog和gflags使用github的action进行编译不符合大多数人的用例,所以我就没有提供pr了,理论上你可以通过研究一下glog和gflags的cmakelists文件明白其是如何完成在windows下进行不同的编译的,然后把它集成进入项目。我研究了,然后感觉太复杂了,看不懂,我放弃了,所以最后就变成先编译glog和gflags然后再链接编译出来的lib文件的形式 2. Openfst 引发的编译报错和崩溃,注意一定要使用clang-cl 编译这个模块,要不总是会编译报错,这一步骤卡了我很久 3. 缺失定义的替换应该很简单,只要简单替换成windows的实现就可以,你可以根据 ``` #ifdef _WIN32 xxx #else xxx #endif ``` 的形式提供条件编译 4. 至于其他部分我相信都很好解决 根据我的做法你应该能编译成功,我已经可以稳定的编译成功我的插件,所以提供windows版本的编译结果理论上应该是没有任何问题的
@Moonmore @943fansi I think I have solved the issue of Windows compilation. You can try my method: https://github.com/huakunyang/SummerTTS/issues/35
It seems that iree provides a compiler API : https://iree.dev/reference/bindings/c-api/#compiler-api it a sample : https://github.com/openxla/iree/blob/main/integrations/pjrt/src/iree_pjrt/common/iree_compiler.cc Based on your question: https://github.com/RechieKho/iree.gd/issues/35 Do you want players to use models such as pytouch...
Currently, for my [mimi pet](https://github.com/aiaimimi0920/mimi) : I always need to use a C++alternative version of the AI model to achieve my goals, because I want it to run in Godot...
asynchronous execution : you can use godot thread, like [this ](https://github.com/aiaimimi0920/godot-tts/blob/main/src/text_to_speech.cpp): ``` this->infer_thread = memnew(Thread); this->infer_thread->start(callable_mp(this, &TTSSpeaker::process_message_infer), Thread::Priority::PRIORITY_NORMAL); bool TTSSpeaker::process_message_infer() { ...... ...... ...... TextToSpeech::get_singleton()->call_deferred("emit_signal", "generated_audio_buffer", p_data,); } ```