Próbuję uruchomić Theano poprzez Spyder na moim komputerze z systemem Windows 10. Mam GTX 1070 i zainstalowałem CUDA 10, 9, 8, 7 z ich odpowiednimi plikami cudnn i łatkami (jestem nowy i mam bardzo mało pomysłu na to, co muszę zrobić).

Zgłasza błąd:

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
Liam Ferrante
źródło