could you please explain how to do this ? On Monday, June 9, 2014 at 6:56:13 PM UTC-5, Frédéric Bastien wrote: > > Hi, > > this mean you are mixing the old interface and the new. You are wrapping > theano inputs in In object. Just remove that wrapping and it will work. > > Fred > > > On Mon, Jun 9, 2014 at 6:22 PM, Olivier Delalleau <[email protected] > <javascript:>> wrote: > >> What are x, y and self.cost? >> >> -=- Olivier >> >> Le 2014-06-09 à 17:10, Tariq Daouda <[email protected] <javascript:>> >> a écrit : >> >> Hello, >> >> Does anyone know what this error means? >> >> Traceback (most recent call last): >> File "mlp.py", line 115, in <module> >> *nn.train([train_set_x[i]], [train_set_y[i]])* >> File "mlp.py", line 75, in train >> *return theano.function(inputs = [x, y], outputs = self.cost, >> updates = self.updates)* >> File >> "/u/daoudat/usr/lib/python2.6/site-packages/theano/compile/function.py", >> line 205, in function >> "In() instances and tuple inputs trigger the old " >> *NotImplementedError: In() instances and tuple inputs trigger the old >> semantics, which disallow using updates and givens* >> >> Concerning the inputs, train_set_x[i] is a numpy array and train_set_y[i] >> is an integer. >> >> Cheers, >> >> Tariq Daouda >> >> -- >> >> --- >> 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] <javascript:>. >> 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 [email protected] <javascript:>. >> 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
