Skip to content Skip to sidebar Skip to footer

Error (theano.gof.opt): Optimization Failure Due To: Constant_folding

In Neural Networks and Deep Learning, there's an object called network3 (which is a PY file, written for python 2.7 and theano 0.7). I modified it to run with python 3.6 and theano

Solution 1:

What is your numpy version? Open a python terminal and run the following lines from numpy import __version__ and then print(__version__). In the numpy version (1.14.2) that I am using this function is well defined.

Sometimes a package update can depreciate a function or even remove a function but also propose a new function to replace the older one. I don't know if that is the case but be always aware of this possibility.

Post a Comment for "Error (theano.gof.opt): Optimization Failure Due To: Constant_folding"