私はpython 3.6でAnaconda3を使用し、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 はどこから来たのですか? ピップフリーズはTensorflowをv0.12.0と表示しますか? どうすればこれを回避できますか?