我环境配置:
WIN10 64位,显卡GT 740M,cpu i54200U,8G内存
numpy1.12.0
theano0.8.2
pip8.1.2
Anconda2.7
CUDA7.5
cudnn-7.5-windows7-x64-v5.0-ga
keras1.2.1
按照http://keras-cn.readthedocs.io/en/latest/getting_started/keras_windows/的教程安装后
在测试时import theano或者import keras(gpu版本),出现错误
ERROR (theano.sandbox.cuda):
Failed to compile cuda_ndarray.cu: DLL load failed: 找不到指定的模块
网上找了大量的资料也没找到答案,于是各种怀疑。
1、笔记本显卡不支持?
https://developer.nvidia.com/cuda-gpus 处确定显卡没问题。
2、在http://stackoverflow.com/questions/40911741/theano-import-error-when-used-with-gpu
处出现跟我类似的问题,貌似是通过重装CUDA8.0解决的。