Your CPU supports instructions that this TensorFlow binary was not compiled to use AVX AVX2
生活随笔
收集整理的這篇文章主要介紹了
Your CPU supports instructions that this TensorFlow binary was not compiled to use AVX AVX2
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
大致的原因就是說:tensorflow覺得你電腦cpu還行,支持AVX(Advanced Vector Extensions),運(yùn)算速度還可以提升,所以可以開啟更好更快的模式,但是你現(xiàn)在用的模式相對(duì)來說可能不是那么快,所以這個(gè)其實(shí)并不是存在錯(cuò)誤,所以如果不嫌當(dāng)前的模式慢就忽略掉這個(gè)警告就好了。
?
解決辦法為:
import osos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'?
總結(jié)
以上是生活随笔為你收集整理的Your CPU supports instructions that this TensorFlow binary was not compiled to use AVX AVX2的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 归一化方法列举
- 下一篇: tf.transpose