Я пытаюсь запустить Theano через Spyder на моей машине с Windows 10. У меня GTX 1070, и я установил CUDA 10, 9, 8, 7 с соответствующими им файлами и патчами cudnn (я новичок в этом и очень мало знаю о том, что мне нужно делать).
Выдает ошибку:
ERROR (theano.gpuarray): Could not initialize pygpu, support disabled
Traceback (most recent call last):
File "C:\Users\liamf\Anaconda2\lib\site-packages\theano\gpuarray\__init__.py", line 227, in <module>
use(config.device)
File "C:\Users\liamf\Anaconda2\lib\site-packages\theano\gpuarray\__init__.py", line 214, in use
init_dev(device, preallocate=preallocate)
File "C:\Users\liamf\Anaconda2\lib\site-packages\theano\gpuarray\__init__.py", line 121, in init_dev
dnn.dnn_available.msg)
RuntimeError: You enabled cuDNN, but we aren't able to use it: cannot compile with cuDNN. We got this error:
In file included from C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include/driver_types.h:53:0,
from C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include/cudnn.h:63,
from c:\users\liamf\appdata\local\temp\try_flags_agqfck.c:4:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include/host_defines.h:84:0: warning: "__cdecl" redefined
#define __cdecl
^
<built-in>: note: this is the location of the previous definition
C:/Users/liamf/Anaconda2/Library/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcudnn
collect2.exe: error: ld returned 1 exit status