Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AV

在tensorflow中使用session()会话,sess.run()时候,出现Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AV。网上搜索一下,说是CPU不行,这个问题可以忽略掉,不影响程序运行。

在程序开头加入:

import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

猜你喜欢

转载自blog.csdn.net/jainszhang/article/details/79134317