Fiz*_*ics 6 python terminal cpu machine-learning tensorflow
MacBook Air:OSX El Capitan
当我在terminal(python 3 tfpractice.py)中运行TensorFlow代码时,我得到一个比正常更长的等待时间来返回输出,然后是这些错误消息:
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
我不知道如何解决这个问题.我想让TensorFlow在这个pip3安装上工作.所以我沿着这条道路前进:tensorflow/core/platform/cpu_feature_guard
我需要在这里编辑代码吗?或者是否有另一种方法可以让TensorFlow使用这些指令进行编译?
我用TensorFlow安装了sudo pip3 install tensorflow.
| 归档时间: |
|
| 查看次数: |
20887 次 |
| 最近记录: |