【发布时间】:2020-03-04 02:27:12
【问题描述】:
我是张量流的新手。实际上使用它是因为我正在编写的服务器代码调用它。
我正在使用 conda 来设置各种软件包。我做了 conda install -c anaconda tensorflow-mkl。 (注意:我没有 GPU - 使用 CPU) 我总是收到这个错误:
Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX
发生这种情况的具体代码行:
tensorflow.contrib.predictor.from_saved_model(path)
经过进一步研究,我发现这是因为我拥有的 tensorflow 包不支持上述指令,需要支持。
一些问题: 1.我们如何确保我拥有的tensorflow包确实支持上述功能?有什么可以下载的资源吗?
- 如果它不重要,有没有办法禁止这条指令或其中的任何错误?
提前致谢!
【问题讨论】:
标签: python tensorflow conda