Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

使用tensorflow时,提示

Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

去掉这个提示信息方法为修改~/.bashrc文件,最后加上一句

export TF_CPP_MIN_LOG_LEVEL=2

执行

source ~/.bashrc

即可

posted @ 2018-08-25 10:48  DeathNot  阅读(160)  评论(0)    收藏  举报