No, it's not useful. My .theanorc file is
[global]
floatx = float32
cxx = C:\Users\Song\Miniconda3\Library\mingw-w64\bin\g++.exe
mode = FAST_RUN
device = cuda
[blas]
ldflags = -LC:\Users\Song\Miniconda3\Library\bin -lmkl_rt
[gcc]
cxxflags = -LC:\Users\Song\Miniconda3\Library\mingw-w64\include
-LC:\Users\Song\Miniconda3\Library\mingw-w64\lib -lm
[cuda]
root = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
[nvcc]
flags=--cl-version=2015
[dnn]
enabled=True
[lib]
cnmem=0.70
the error is:
ERROR (theano.gpuarray): Could not initialize pygpu, support disabled
Traceback (most recent call last):
File
"C:\Users\Song\Miniconda3\lib\site-packages\theano\gpuarray\__init__.py",
line 164, in <module>
use(config.device)
File
"C:\Users\Song\Miniconda3\lib\site-packages\theano\gpuarray\__init__.py",
line 151, in use
init_dev(device)
File
"C:\Users\Song\Miniconda3\lib\site-packages\theano\gpuarray\__init__.py",
line 60, in init_dev
sched=config.gpuarray.sched)
File "pygpu\gpuarray.pyx", line 614, in pygpu.gpuarray.init
(pygpu/gpuarray.c:9211)
File "pygpu\gpuarray.pyx", line 566, in pygpu.gpuarray.pygpu_init
(pygpu/gpuarray.c:8902)
File "pygpu\gpuarray.pyx", line 1021, in
pygpu.gpuarray.GpuContext.__cinit__ (pygpu/gpuarray.c:13264)
pygpu.gpuarray.GpuArrayException: Error loading library: -1
在 2017年3月10日星期五 UTC+8上午4:18:07,Gábor Borbély写道:
>
> Dear 侠贵族 ,
>
> Maybe you can try to set the cuda root:
>
> http://deeplearning.net/software/theano/library/config.html#config.config.cuda.root
>
> cheers
> gaebor
>
> 2017. február 28., kedd 8:18:57 UTC+1 időpontban 侠贵族 a következőt írta:
>
>> It's not useful. I have copied cuDNN lib include and bin files to
>> CUDA-8.0. And set [dnn] enabled=True, [lib] cnmem=0.70.
>>
>> With "device = gpu", It's successfully showing
>> Using gpu device 0: GeForce GTX 670 (CNMeM is enabled with initial size:
>> 70.0% of memory, cuDNN 5110)
>> With "device =cuda", the error is same.
>>
>>
>> 在 2017年2月27日星期一 UTC+8下午8:42:31,Kiuhnm Mnhuik写道:
>>>
>>> You can try disabling cuDnn:
>>>
>>> http://deeplearning.net/software/theano_versions/0.9.X/library/config.html#config.config.dnn.enabled
>>> Basically, add
>>> [dnn]
>>> enabled=False
>>> to .theanorc.
>>>
>>> On Monday, February 27, 2017 at 10:36:41 AM UTC+1, 侠贵族 wrote:
>>>>
>>>> I did not install cuDnn. Dose the new cuda backend must need it?
>>>
>>>
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.