【问题标题】:Darwin not supported yet for MKL build / configure for Tensorflow尚不支持 Darwin 为 Tensorflow 构建/配置 MKL
【发布时间】:2017-08-29 12:28:14
【问题描述】:

我正在尝试在我的 iOS 应用程序中使用 tensorflow-1.3.0。我正在尝试这个链接 -[http://jeffxtang.github.io/deep/learning,/tensorflow,/mobile,/ai/2016/09/23/mobile-tensorflow.html][1]

我正在尝试本教程中的第 4 步,我需要先运行 ./configure 脚本,然后才能运行 bazel build 来运行重新训练脚本:

bazel build tensorflow/examples/image_retraining:retrain
bazel-bin/tensorflow/examples/image_retraining/retrain \
  --model_dir=/tf_files/inception-v3 \
  --output_graph=/tf_files/retrained_models/dog_retrained.pb \
  --output_labels=/tf_files/retrained_models/dog_retrained_labels.txt \
  --image_dir ~/Downloads/dog_images \
  --bottleneck_dir=/tf_files/dogs_bottleneck

但 ./configure 步骤失败并显示以下消息:

MobioApps-Mac-mini:tensorflow-1.3.0 mobioapp$ ./configure
You have bazel 0.5.3-homebrew installed.
Please specify the location of python. [Default is /Users/mobioapp/anaconda/bin/python]: /Users/mobioapp/anaconda/bin/python
Found possible Python library paths:
  /Users/mobioapp/anaconda/lib/python2.7/site-packages
Please input the desired Python library path to use.  Default is [/Users/mobioapp/anaconda/lib/python2.7/site-packages]
/Users/mobioapp/anaconda/lib/python2.7/site-packages
Do you wish to build TensorFlow with MKL support? [y/N] y
MKL support will be enabled for TensorFlow
Do you wish to download MKL LIB from the web? [Y/n] Y
Darwin is unsupported yet

问题:还不支持达尔文

这个问题的解决方案是什么?请帮帮我。找了很久。

【问题讨论】:

标签: ios macos tensorflow darwin


【解决方案1】:

要克服这个问题,请跳过此链接http://jeffxtang.github.io/deep/learning,/tensorflow,/mobile,/ai/2016/09/23/mobile-tensorflow.html 中的第 4 步。我只是分别按照教程中的第 1、2、3 和 5 步进行操作。这解决了我的问题,最后我能够运行我自己的训练模型进入我的 iOS App 并获得成功的预测结果。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-11-13
    • 2011-06-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-08-08
    • 1970-01-01
    相关资源
    最近更新 更多