运行TensorFlow出现Your CPU supports instructions that this TensorFlow binary was not compiled to use: AV

缘由:python import os #在顶头位置加上 os.environ["TF_CPP_MIN_LOG_LEVEL"]='1' # ‘1’表示默认的显示等级,运行时显示全部信息 os.environ["TF_CPP_MIN_LOG_LEVEL"]='2' # ‘2’运行时只显示 warning 和 Error os.environ["TF_CPP_MIN_LOG_LEVEL"]
相关文章
相关标签/搜索