美文网首页我爱编程
tensorflow 安装问题

tensorflow 安装问题

作者: 全栈小哥 | 来源:发表于2017-06-27 18:10 被阅读0次

1、本地macOS 10.12.5已经有python2.7,但是安装过程出现了若干问题,后来从python官网下载2.7的installer安装后就正常了。

2、安装tensorflow1.2使用的是官网推荐安装方法,出现了以下警告,据说是因为没有使用源码安装,没有优化完全,SSE4.2是一个CPU指令集,根据提示来看应该是会没法使用这个指令集的好处,后面的AVX AVX2 FMA估计也是类似的意思,不妨碍学习,先记录一下,待解决。

2017-06-27 18:01:42.050324: 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.

2017-06-27 18:01:42.050359: 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.

2017-06-27 18:01:42.050365: 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.

2017-06-27 18:01:42.050371: 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.

3、eclipse开发的话,interpreters要设置成虚拟空间里的python. 运行测试代码。

相关文章

网友评论

    本文标题:tensorflow 安装问题

    本文链接:https://www.haomeiwen.com/subject/ilwecxtx.html