首页 > 其他分享> > The TensorFlow library wasn‘t compiled to use SSE instructions, but these are available on your mach
The TensorFlow library wasn‘t compiled to use SSE instructions, but these are available on your mach
作者:互联网
问题描述:
The TensorFlow library wasn't compiled to use SSE instructions, but these are available on your machine and could speed up CPU computations.
问题解决:
tensorflow库没有编译,不能使用SSE,FMA等指令,但是他们可以用来加速你的CPU计算,这只影响CPU如果你使用的是GPU版本的tensorflow那么在GPU上的所有操作都不会受益于SSE指令。
在py文件头部加入以下内容:
import os
os.environ['TF_CPP_MIN_LOG_LEVEL']='2'
import tensorflow as tf
不在报错,问题解决!
标签:available,use,these,import,library,wasn,SSE,tensorflow,CPU 来源: https://blog.csdn.net/buluxianfeng/article/details/116032363