Beatriz G.
2017-12-13 12:50:44 UTC
Hi everyone.
I used to work with Theano and it works perfectly, but after installing
tensorflow with conda, and some dependencies to work with it, my Theano has
stopped to work.
I obtain the following error:
Using gpu device 0: GeForce GTX 750 Ti (CNMeM is disabled, cuDNN not
available)
... loading data
... building the model
... training
training @ iter = 0
Traceback (most recent call last):
File "LENET.py", line 394, in <module>
evaluate_lenet5()
File "LENET.py", line 301, in evaluate_lenet5
cost_ij = train_model(minibatch_index)
File
"/home/bea/anaconda2/lib/python2.7/site-packages/theano/compile/function_module.py",
line 871, in __call__
storage_map=getattr(self.fn, 'storage_map', None))
File
"/home/bea/anaconda2/lib/python2.7/site-packages/theano/gof/link.py", line
314, in raise_with_op
reraise(exc_type, exc_value, exc_trace)
File
"/home/bea/anaconda2/lib/python2.7/site-packages/theano/compile/function_module.py",
line 859, in __call__
outputs = self.fn()
RuntimeError: GpuCorrMM encountered a CUBLAS error: the library was not
initialized
This could be a known bug in CUDA, please see the GpuCorrMM() documentation.
Apply node that caused the error: GpuCorrMM_gradWeights{valid, (1,
1)}(GpuContiguous.0, GpuContiguous.0)
Toposort index: 28
Inputs types: [CudaNdarrayType(float32, (True, False, False, False)),
CudaNdarrayType(float32, 4D)]
Inputs shapes: [(1, 500, 28, 28), (1, 20, 5, 5)]
Inputs strides: [(0, 784, 28, 1), (0, 25, 5, 1)]
Inputs values: ['not shown', 'not shown']
Outputs clients: [[GpuDimShuffle{1,0,2,3}(GpuCorrMM_gradWeights{valid, (1,
1)}.0)]]
HINT: Re-running with most Theano optimization disabled could give you a
back-trace of when this node was created. This can be done with by setting
the Theano flag 'optimizer=fast_compile'. If that does not work, Theano
optimizations can be disabled with 'optimizer=None'.
HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and
storage map footprint of this apply node.
I have tried to install cuda and cudnn, but it does not work (apart from
the toolkit that i had already installed)
My theanorc file looks like:
[global]
device = gpu
floatX = float32
[blas]
ldflags = -lopenblas
[nvcc]
flags=-D_FORCE_INLINES
I would appreciate any advice or help.
Regards.
Beatriz.
I used to work with Theano and it works perfectly, but after installing
tensorflow with conda, and some dependencies to work with it, my Theano has
stopped to work.
I obtain the following error:
Using gpu device 0: GeForce GTX 750 Ti (CNMeM is disabled, cuDNN not
available)
... loading data
... building the model
... training
training @ iter = 0
Traceback (most recent call last):
File "LENET.py", line 394, in <module>
evaluate_lenet5()
File "LENET.py", line 301, in evaluate_lenet5
cost_ij = train_model(minibatch_index)
File
"/home/bea/anaconda2/lib/python2.7/site-packages/theano/compile/function_module.py",
line 871, in __call__
storage_map=getattr(self.fn, 'storage_map', None))
File
"/home/bea/anaconda2/lib/python2.7/site-packages/theano/gof/link.py", line
314, in raise_with_op
reraise(exc_type, exc_value, exc_trace)
File
"/home/bea/anaconda2/lib/python2.7/site-packages/theano/compile/function_module.py",
line 859, in __call__
outputs = self.fn()
RuntimeError: GpuCorrMM encountered a CUBLAS error: the library was not
initialized
This could be a known bug in CUDA, please see the GpuCorrMM() documentation.
Apply node that caused the error: GpuCorrMM_gradWeights{valid, (1,
1)}(GpuContiguous.0, GpuContiguous.0)
Toposort index: 28
Inputs types: [CudaNdarrayType(float32, (True, False, False, False)),
CudaNdarrayType(float32, 4D)]
Inputs shapes: [(1, 500, 28, 28), (1, 20, 5, 5)]
Inputs strides: [(0, 784, 28, 1), (0, 25, 5, 1)]
Inputs values: ['not shown', 'not shown']
Outputs clients: [[GpuDimShuffle{1,0,2,3}(GpuCorrMM_gradWeights{valid, (1,
1)}.0)]]
HINT: Re-running with most Theano optimization disabled could give you a
back-trace of when this node was created. This can be done with by setting
the Theano flag 'optimizer=fast_compile'. If that does not work, Theano
optimizations can be disabled with 'optimizer=None'.
HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and
storage map footprint of this apply node.
I have tried to install cuda and cudnn, but it does not work (apart from
the toolkit that i had already installed)
My theanorc file looks like:
[global]
device = gpu
floatX = float32
[blas]
ldflags = -lopenblas
[nvcc]
flags=-D_FORCE_INLINES
I would appreciate any advice or help.
Regards.
Beatriz.
--
---
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 theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
---
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 theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.