1. 警告:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
意思是:你的CPU支持AVX扩展,但是你安装的TensorFlow版本无法编译使用。
解决方法:![]()
输入指令 import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

本文解决了一个常见的TensorFlow安装问题,即当CPU支持AVX扩展但TensorFlow未编译使用时,如何通过设置环境变量TF_CPP_MIN_LOG_LEVEL来消除警告信息。

被折叠的 条评论
为什么被折叠?



