[TTS]Android端Demo输入文本过长 libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)
输入文本达到一定长度崩溃 输入: {262, 44, 151, 74, 182, 82, 240, 177, 213, 37, 184, 40, 202, 180, 175, 52, 154, 55, 71, 54, 37, 186, 40, 42, 40, 7, 261, 10, 151, 77, 153, 74, 37, 186, 39, 183, 154, 52, 262, 44, 151, 74, 182, 82, 240, 177, 213, 37, 184, 40, 202, 180, 175, 52, 154, 55, 71, 54, 37, 186, 40, 42, 40, 7, 261, 10, 151, 77, 153, 74, 37, 186, 39, 183, 154, 52, 262, 44, 151, 74, 182, 82, 240, 177, 213, 37, 184, 40, 202, 180, 175, 52, 154, 55, 71, 54, 37, 186, 40, 42, 40, 7, 261, 10, 151, 77, 153, 74, 37, 186, 39, 183, 154, 52, 262, 44, 151, 74, 182, 82, 240, 177, 213, 37, 184, 40, 202, 180, 175, 52, 154, 55, 71, 54, 37, 186, 40, 42, 40, 7, 261, 10, 151, 77, 153, 74, 37, 186, 39, 183, 154, 52}
native error: libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7ddb954b40 in tid 17194 (Predictor Worke), pid 17140 (e.lite.demo.tts)
看一下你的显存在合成长文本的时候是不是不够了
看一下你的显存在合成长文本的时候是不是不够了
在合成文本的时候抛出此异常:tts_front_demo: /home/paddlespeech_tts_cpp-main/src/front/front_interface.cpp:358: int speechnn::FrontEngineInterface::GetInitialsFinals(const string&, std::vector<std::__cxx11::basic_string
看一下你的显存在合成长文本的时候是不是不够了
在合成文本的时候抛出此异常:tts_front_demo: /home/paddlespeech_tts_cpp-main/src/front/front_interface.cpp:358: int speechnn::FrontEngineInterface::GetInitialsFinals(const string&, std::vector<std::__cxx11::basic_string >&, std::vector<std::__cxx11::basic_string >&): Assertion `word_finals.size() == speechnn::utf8string2wstring(word).length() && word_finals.size() == word_initials.size()' failed. ./run_front_demo.sh: line 7: 1506 Aborted (core dumped) ./build/tts_front_demo "$@"
运行文本为: ./run_front_demo.sh --sentence "并不光彩"
看一下你的显存在合成长文本的时候是不是不够了 不确定是不是显存不够了,没法直观看到,不过合成长文本时AndroidStudio Profiler显示Native memory很高,超过1G了,随后程序就崩溃了
看一下你的显存在合成长文本的时候是不是不够了
如果是显存问题的话,有什么优化方案吗?
大佬你好,能分享下代码吗?