【发布时间】:2018-12-27 22:42:58
【问题描述】:
我使用 Anaconda3 和 python 3.6 并使用 pip install tensorflow deepspeech。
当我运行以下命令时出现错误:
deepspeech --model models/output_graph.pb --alphabet models/alphabet.txt --audio voice.wav
Loading model from file models/output_graph.pb
TensorFlow: v1.11.0-9-g97d851f04e
DeepSpeech: unknown
Warning: reading entire model file into memory. Transform model file into an mmapped graph to reduce heap usage.
2018-12-26 18:19:30.748212: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
请注意,我使用的是从使用此命令的说明中获得的预训练模型:
wget -O - https://github.com/mozilla/DeepSpeech/releases/download/v0.3.0/deepspeech-0.3.0-models.tar.gz |焦油 xvfz -
Tensorflow v1.11.0 来自哪里? pip freeze 将 Tensorflow 显示为 v0.12.0?我该如何解决这个问题?
【问题讨论】:
标签: tensorflow mozilla-deepspeech