Theano.test() : Optimization Failure Due To Constant_folding (on Ubuntu)
When running theano.test() on an Ubuntu operating system, some error message about an optimization failure is produced as follows: ERROR (theano.gof.opt): Optimization failure due
Solution 1:
This can be caused by many things. The error is related to the GPU. So first, make sure you can compile nvidia example and that they run fine. To be sure this isn't the problem.
The problem is that Theano isn't able to import a GPU module it compiled, because he didn't found the symbol it need. This missing symbol "_Z25CudaNdarray_CopyFromArrayP11CudaNdarrayP23tagPyArrayObject_fields" is in a shared library that Theano already pre-compiled.
What is your OS? Make sure to update to the latest development version of Theano. There was a fix recently (Monday if my memory is exact) that could solve this on some OS.
Post a Comment for "Theano.test() : Optimization Failure Due To Constant_folding (on Ubuntu)"