运行TensorFlow出现The TensorFlow library wasn‘t compiled to use FMA instructions)代码
生活随笔
收集整理的這篇文章主要介紹了
运行TensorFlow出现The TensorFlow library wasn‘t compiled to use FMA instructions)代码
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
TensorFlow出錯(cuò)點(diǎn)(2)(The TensorFlow library wasn't compiled to use FMA instructions)
- 錯(cuò)誤提示:
- 解決措施:
錯(cuò)誤提示:
摘取錯(cuò)誤編碼:
The TensorFlow library wasn’t compiled to use FMA instructions
網(wǎng)上搜了下,也有可能會(huì)出現(xiàn)
The TensorFlow library wasn’t compiled to use SSE instructions
只要是用的是TensorFlow-CPU版本都會(huì)出現(xiàn)這個(gè)警告,意思是TensorFlow庫(kù)沒有編譯,不能使用SSE,FMA等指令,但是他們可以用來加速你的CPU計(jì)算,這只影響CPU如果你使用的是GPU版本的tensorflow那么在GPU上的所有操作都不會(huì)受益于SSE指令。并不影響其他操作。如果想要這個(gè)警告不出現(xiàn):
解決措施:
下面展示一些 代碼片。
import os os.environ['TF_CPP_MIN_LOG_LEVEL']='2' import tensorflow as tf就可以了。
總結(jié)
以上是生活随笔為你收集整理的运行TensorFlow出现The TensorFlow library wasn‘t compiled to use FMA instructions)代码的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 为什么springcloud值得我们学习
- 下一篇: 2019电赛----模拟电磁曲射炮