首页 > 其他 > 详细

tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

时间:2019-09-16 11:26:55      阅读:83      评论:0      收藏:0      [点我收藏+]

您的CPU支持未编译此TensorFlow二进制文件以使用的指令:AVX2

如果是初学者 或者 没有太大计算速度的需求,在开头加上这两行忽略这个提示即可

import os

os.environ[‘TF_CPP_MIN_LOG_LEVEL‘] = ‘2‘

说明:

os.environ["TF_CPP_MIN_LOG_LEVEL"] = ‘1‘ # 默认,显示所有信息
os.environ["TF_CPP_MIN_LOG_LEVEL"] = ‘2‘ # 只显示 warning 和 Error
os.environ["TF_CPP_MIN_LOG_LEVEL"] = ‘3‘ # 只显示 Error

tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

原文:https://www.cnblogs.com/xin-qing3/p/11525861.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!