0

我的操作系统是Win10_64,我已经安装了cuda8.0,并且我已经更新了显卡驱动

但是..当我输入'import theano'时,它说:

DEBUG: nvcc STDOUT mod.cu
building library: C:/Users/asus/AppData/Local/Theano/compiledir_Windows-10-10.0.14393-SP0-
Intel64_Family_6_Model_60_Stepping_3_GenuineIntel-3.6.0-64/tmp81safx1e/m91973e5c136ea49268a916ff971b7377.lib and subject C:/Users/asus/AppData/Local/Theano/compiledir_Windows-10-10.0.14393-SP0-Intel64_Family_6_Model_60_Stepping_3_GenuineIntel-3.6.0-64/tmp81safx1e/
m91973e5c136ea49268a916ff971b7377.exp

Using gpu device 0: GeForce GTX 960M (CNMeM is enabled with initial size: 80.0% of memory, 
cuDNN 5005)
Traceback (most recent call last):
   File "mlp.py", line 10, in <module>
     import theano
   File "C:\Users\asus\AppData\Local\Programs\Python\Python36\lib\site-packages\theano\__init__.py", 
       line 111, in <module>
     theano.sandbox.cuda.tests.test_driver.test_nvidia_driver1()
   File "C:\Users\asus\AppData\Local\Programs\Python\Python36\lib\site-packages\theano\sandbox
      \cuda\tests\test_driver.py", line 39, in test_nvidia_driver1

     raise Exception("The nvidia driver version installed with this OS "
Exception: The nvidia driver version installed with this OS does not give good results for 
reduction.Installing the nvidia driver available on the same download page as the cuda package 
will fix the problem: http://developer.nvidia.com/cuda-downloads

而我的python版本是3.6,不知道是cuda的版本还是别的?

当我输入 nvcc -V 时,它显示:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Mon_Jan__9_17:32:33_CST_2017
Cuda compilation tools, release 8.0, V8.0.60 

所以我猜cuda没问题。

不知道怎么解决...

如果您知道如何解决它,我将不胜感激。谢谢!

4

0 回答 0