原文:I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

遇到了这个问题,意思是你的 CPU 支持AVX AVX 可以加速CPU计算 ,但你安装的 TensorFlow 版本不支持 解决: . 如果是初学者 或者 没有太大计算速度的需求,在开头加上这两行忽略这个提示即可import osos.environ TF CPP MIN LOG LEVEL 说明: os.environ TF CPP MIN LOG LEVEL 默认,显示所有信息 os.envi ...

2019-11-27 11:23 0 805 推荐指数:

查看详情

I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

问题: 安装TensorFlowCPU版本),使用pip install tensorflow安装,安装一切顺利,但是在跑一个简单的程序时,遇到如下情况: 大概意思是:你的CPU支持AVX扩展,但是你安装的TensorFlow版本无法编译使用。 原因: 除了通常的算术和逻辑,现代CPU提供了许多 ...

Fri Nov 09 23:52:00 CST 2018 0 6415
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM