按照西班牙 deepspeech github repo的指示,我在具有 64GB RAM 的 RedHat 7 服务器上使用 deepspeech 0.4.1来转录西班牙语音频。
开始处理后不久,我收到“分段错误”错误。
这是一个示例输出:
-bash-4.2$ deepspeech --model models/output_graph.pb --alphabet models/alphabet.txt --lm models/lm.binary --trie models/trie --audio file.wav
Loading model from file models/output_graph.pb
TensorFlow: v1.12.0-10-ge232881
DeepSpeech: v0.4.1-0-g0e40db6
Warning: reading entire model file into memory. Transform model file into an mmapped graph to reduce heap usage.
2020-01-22 09:21:45.252368: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: FMA
Loaded model in 0.365s.
Loading language model from files models/lm.binary models/trie
Loaded language model in 0.181s.
Running inference.
在这条线之后出现了可怕的“分段错误”
我在 SO 或deepspeech Mozilla 论坛中找不到有关原因或解决方案的任何信息