码迷,mamicode.com
首页 > 其他好文 > 详细

安装tensorflow遇到:Your CPU supports instructions that this TensorFlow binary was not compiled to use

时间:2018-01-08 21:16:45      阅读:1164      评论:0      收藏:0      [点我收藏+]

标签:解决方法   str   官网   post   compile   instr   ons   his   bin   

为了提升CPU计算速度的。若你有支持cuda的GPU,则可以忽略这个问题,因为安装SSE4.1, SSE4.2, AVX, AVX2, FMA, 仅仅提升CPU的运算速度(大概有3倍)。

解决方法:

  1. 忽视警告,并屏蔽警告

开头输入如下:

import os

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

2.进 tensorflow 官网,从源码安装。

安装tensorflow遇到:Your CPU supports instructions that this TensorFlow binary was not compiled to use

标签:解决方法   str   官网   post   compile   instr   ons   his   bin   

原文地址:https://www.cnblogs.com/theWinter/p/8244685.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!