TensorFlow 库被编译为使用 SSE4.1 指令,但这些在您的机器上不可用.中止(核心转储) [英] TensorFlow library was compiled to use SSE4.1 instructions, but these aren't available on your machine. Aborted (core dumped)

查看:71
本文介绍了TensorFlow 库被编译为使用 SSE4.1 指令,但这些在您的机器上不可用.中止(核心转储)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经按照

以下图片显示了我安装的版本及其给定的错误.

我正在使用,

  • Ubuntu 18.04.1 LTS

  • x86_64

  • 处理器:Intel(R) Core(TM) 2 Duo CPU T5870 @ 2.00 GHz 2.00 GHz

  • 安装内存 (RAM):2.00 GB

版本:

错误:

我试图克服这个问题,但找不到解决方案.我是 tensorflow 的新手,正在尝试安装和学习它.请帮我解决这个问题.

解决方案

您的 CPU 太旧,无法运行 TensorFlow,因为它缺少所需的指令集.从 TensorFlow 1.6 开始,二进制文件使用 AVX 指令,这些指令可能无法在较旧的 CPU 上运行. - 根据 Tensorflow.

您有两种可能的解决方案:

  1. 使用基于云/网络的解决方案,例如Google Colab
  2. 将您的机器升级到现代版本

I have installed tensorflow following the https://www.tensorflow.org/install/pip steps. I installed it through Anaconda.

I also tried using a virtual environment without using anaconda as this page provided (please check image). It also gave the same error.

Following images shows the versions I have installed and its given error.

I am using,

  • Ubuntu 18.04.1 LTS

  • x86_64

  • Processor: Intel(R) Core(TM) 2 Duo CPU T5870 @ 2.00 GHz 2.00 GHz

  • Installed memory (RAM): 2.00 GB

Version:

Error:

I tried to overcome this but, I couldn't find a solution. I am new to tensorflow and trying to install and learn it. Please help me to solve this.

解决方案

Your CPU is too old for running TensorFlow as it lacks the required Instruction set. Starting with TensorFlow 1.6, binaries use AVX instructions which may not run on older CPUs. - According to Tensorflow.

You have 2 possible solutions:

  1. Using cloud/web based solution, e.g. Google Colab
  2. Upgrade your Machine to a modern build

这篇关于TensorFlow 库被编译为使用 SSE4.1 指令,但这些在您的机器上不可用.中止(核心转储)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆