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.

The TensorFlow library wasn‘t compiled to use SSE instructions, but these are available on your mach

问题解决:

tensorflow库没有编译,不能使用SSE,FMA等指令,但是他们可以用来加速你的CPU计算,这只影响CPU如果你使用的是GPU版本的tensorflow那么在GPU上的所有操作都不会受益于SSE指令。

在py文件头部加入以下内容:

import os
os.environ['TF_CPP_MIN_LOG_LEVEL']='2'
import tensorflow as tf

不在报错,问题解决!

上一篇:解决pytorch报错“RuntimeError: CUDA error: no kernel image is available for execution on the device“


下一篇:webservice axis绕过https证书验证及NONEwithRSA Signature not available问题解决