0
나는 numpy 1.11.2 및 scipy 0.18.1 버전과 함께 Anaconda Python 2.7.12를 설치했습니다. 나는 condao 설치를 통해 Theano 0.8.2를 설치했다. .theanorc.txt 파일에 다음 줄을 추가했습니다.GPU와 함께 사용할 때 Theano 가져 오기 오류
[global]
floatX = float32
device = gpu0
[nvcc]
compiler_bindir=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin`
환경 변수에 CUDA 경로가 설정되어 있습니다. 또한 CUDA 설치에 CUDNN v4.0을 추가했습니다.
그러나 나는 그것이 나에게 다음과 같은 오류를 제공하고 CPU에 다시 떨어질 파이썬 인터프리터에서 간단한
import theano
을 수행 할 때.
`DEBUG: nvcc STDOUT nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
mod.cu
Creating library C:/Users/<USER_NAME>/AppData/Local/Theano/compiledir_Windows-10-10.0.14393-Intel64_Family_6_Model_94_Stepping_3_GenuineIntel-2.7.12-64/cuda_ndarray/cuda_ndarray.lib and object C:/Users/<USER_NAME>/AppData/Local/Theano/compiledir_Windows-10-10.0.14393-Intel64_Family_6_Model_94_Stepping_3_GenuineIntel-2.7.12-64/cuda_ndarray/cuda_ndarray.exp
ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: DLL load failed: The specified module could not be found.
WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu0 is not available (error: cuda unavailable)`
오류는 누락 된 DLL을 지정하지 않습니다. 이것은 버그 또는 theano 설치/구성 문제 또는 CUDA 설치/구성 문제인지 잘 모르겠습니다.
감사