简体   繁体   English

tensorflow-gpu-pycharm无法识别GPU

[英]tensorflow-gpu - pycharm doesn't recognize GPU

i've imported tensorflow gpu, but pycharm doesn't recognize it 我已经导入了tensorflow gpu,但是pycharm无法识别它

details: 细节:

IDE -pycharm
GPU- grid p40-1Q
cuda - 8
cudnn - 7.1
python - 3.5

i'm getting this message: 我收到此消息:

在此处输入图片说明

Have you checked with 你检查过了吗

nvidia-smi NVIDIA-SMI

and see if your graphic driver is working? 并查看您的图形驱动程序是否正常工作? Also, have you checked the version of your tensorflow-gpu ? 另外,您是否检查过tensorflow-gpu的版本? check for compatible configurations here https://www.tensorflow.org/install/source#tested_source_configurations 在此处检查兼容配置https://www.tensorflow.org/install/source#tested_source_configurations

I tried with the following configuration on pycharm with windows 10 and it worked!! 我在Windows 10的pycharm上尝试了以下配置,并且有效!

  1. Anaconda navigator with python 3.6.8 带有Python 3.6.8的Anaconda导航器
  2. CUDA 9.0 CUDA 9.0
  3. CUDNN 7.1 CUDNN 7.1
  4. Nvidia GeForce 1050 Ti GPU 英伟达GeForce 1050 Ti GPU

Follow the instructions mentioned in https://stackoverflow.com/a/51307381/2562870 遵循https://stackoverflow.com/a/51307381/2562870中提到的说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM