windows-10

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:

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

北战南征 提交于 2020-08-26 10:42:46
问题 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:

The system cannot find the path specified in anaconda command prompt

余生长醉 提交于 2020-08-22 12:04:33
问题 Whenever I open the Anaconda Prompt, I get the message above printed twice (see screenshot of my prompt. How can I remove this? 回答1: try executing conda init and restart the anaconda prompt. It should initialize the conda environment again. 回答2: Go to Control Panel\System and Security\System\Advanced System Settings then look for Environment Variables. Your user variables should contain Path=Path\to\Anaconda3\Scripts . You need to figure where your Anaconda3 folder is (i.e. the path to this

“Javac” doesn't work correctly on Windows 10

纵饮孤独 提交于 2020-08-22 01:56:14
问题 the problem is that I upgraded to Windows 10 and now I'm installing my tools to programming and now that I installed the JDK 7 of Java, when I try to use in the cmd the command: - "javac" The result of this is: "javac" is not recognized as an internal or external command... But I was edited the PATH with the correct link of jdk, because when I use "java", it is ok. Now, I tryed in the console with this command: PATH=%PATH%;"C:\Program Files\Java\jdk1.7.0_79\bin" And when I ejecute this