Hey Folks,

  I have an error that theano is telling me to report here, so I am! 

The error is : 

"""

Traceback (most recent call last):
  File "test.py", line 15, in <module>
    jac = T.jacobian(T.reshape(out,[-1]),invar)
  File 
"/packages/python/2.7.11/lib/python2.7/site-packages/theano/gradient.py", 
line 1815, in jacobian
    ("Scan has returned a list of updates. This should not "
AssertionError: Scan has returned a list of updates. This should not 
happen! Report this to theano-users (also include the script that generated 
the error)

"""

A sample script that generates it is:

"""

import theano
import lasagne
import theano.tensor as T

invar = T.matrix("input","float32")

IN = lasagne.layers.InputLayer([10,10],invar)

net = lasagne.layers.DenseLayer(IN,10)
net = lasagne.layers.DropoutLayer(net,.5)
net = lasagne.layers.DenseLayer(net,1,nonlinearity = 
lasagne.nonlinearities.linear)

out = lasagne.layers.get_output(net,deterministic = False)

jac = T.jacobian(T.reshape(out,[-1]),invar)

"""

versions are:

 lasagne.__version__
'0.2.dev1'

 theano.__version__
'0.8.2'

-- 

--- 
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.

Reply via email to