gpt4 book ai didi

python - 导入tensorflow报错: terminate called after throwing an instance of 'Xbyak::Error'

转载 作者:太空狗 更新时间:2023-10-29 21:10:33 25 4
gpt4 key购买 nike

我正在尝试使用 tensorflow 调试错误。当我导入 tensorflow 时我收到以下错误

import tensorflow as tf

terminate called after throwing an instance of 'Xbyak::Error'

what(): internal error

Aborted (core dumped)

这是安装细节

操作系统 >> Ubuntu 14.04

安装方法Anaconda >> conda 4.4.11 (conda install tensorflow)

python3 --version >> Python 3.6.4::Anaconda, Inc.

如果有人有解决此问题的经验或知识,我将不胜感激。在此处、谷歌和 github 上的搜索产生了建议 the issue is likely with MKL-DNN , 有没有人找到解决方法?

最佳答案

正如其他人所提到的,使用官方文档从源代码安装可能是更好的做法:

https://www.tensorflow.org/install/install_linux#installing_with_anaconda

这是 google 支持的唯一方法。

conda forge 版本 (1.5.0) 工作正常。使用

conda install -c conda-forge tensorflow

p.s.: 确保你没有编辑,因为这会返回原来的错误。

关于python - 导入tensorflow报错: terminate called after throwing an instance of 'Xbyak::Error' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49032571/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com