Python [tensorflow]安装tensorflow gpu,导入错误为分段错误(内核转储)
使用命令“Python [tensorflow]安装tensorflow gpu,导入错误为分段错误(内核转储),python,ubuntu,tensorflow,tensorflow-gpu,Python,Ubuntu,Tensorflow,Tensorflow Gpu,使用命令“pip install--ingoreinstalled--upgradehttps://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.3.0-cp36-cp36m-linux_x86_64.whl'安装Python3.6的tensorflow gpu,作为官方指示 https://www.tensorflow.org/install/install_linux 它似乎安装成功,如图所示 但是,在pytho
pip install--ingoreinstalled--upgradehttps://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.3.0-cp36-cp36m-linux_x86_64.whl
'安装Python3.6的tensorflow gpu
,作为官方指示
https://www.tensorflow.org/install/install_linux
它似乎安装成功,如图所示
但是,在python中使用“导入tensorflow
”进行测试时,会出现错误,即“分段错误(内核转储)”
。
在为cpu使用类似的安装tensorflow时,没有问题
我的系统是Ubuntu 16.04.2 LTS,我的Anaconda env“tf gpu”是新构建的,没有其他python库可以干扰
我没有发现类似的问题和解决方案,因为进口导致转储。如何处理它?可能是因为您使用的是不兼容的CUDA和/或cuDNN。 请按照以下步骤查看要使用的版本