首页 > Windows开发 > 详细

运行tensorflow是出现的问题This TensorFlow binary is optimized with Intel(R) MKL-DNN to use the following CPU

时间:2020-06-04 16:04:20      阅读:201      评论:0      收藏:0      [点我收藏+]

2019-09-06 11:01:39.589297: I tensorflow/core/platform/cpu_feature_guard.cc:145] This TensorFlow binary is optimized with Intel(R) MKL-DNN to use the following CPU instructions in performance critical operations: AVX AVX2
To enable them in non-MKL-DNN operations, rebuild TensorFlow with the appropriate compiler flags.
2019-09-06 11:01:39.591143: I tensorflow/core/common_runtime/process_util.cc:115] Creating new thread pool with default inter op setting: 8. Tune using inter_op_parallelism_threads for best performance.

翻译一下:

根据我目前查到的资料,

这个TensorFlow二进制文件使用Intel(R) mkl - dnn进行了优化,以便在性能关键操作中使用以下CPU指令:AVX AVX2

要在非mkl - dnn操作中启用它们,请使用适当的编译器标志重新构建TensorFlow

说白了就是tensorflow安装的不对,不是版本问题,而是需要从源代码安装tensorflow

解决方法,就是忽略

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

加上这两句可以覆盖掉

运行tensorflow是出现的问题This TensorFlow binary is optimized with Intel(R) MKL-DNN to use the following CPU

原文:https://www.cnblogs.com/peijz/p/13042427.html

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