deep-learning

Why Tensorflow not running on GPU while GPU devices are identified in python?

a 夏天 提交于 2020-08-26 10:43:39
问题 I installed TensorFlow 2.2.0 and TensorFlow-gpu 2.2.0 in windows 10 . Also, I installed CUDA Toolkit v10.1 and copy cuDNN 7.6.5 files in CUDA directories . My GPU is NVIDIA GeForce 940 MX . In addition, I set CUDA Path on windows. When I test devices through the below code, both CPU and GPU are recognized: from tensorflow.python.client import device_lib device_lib.list_local_devices() The output is: [name: "/device:CPU:0" device_type: "CPU" memory_limit: 268435456 locality { } incarnation: