following this -> 
http://deeplearning.net/software/theano/tutorial/printing_drawing.html

I have theano.printing.pprint(prediction) before training to show the 
graph, where

    prediction = theano.function(
        inputs=[x],
        outputs=classifier.output,
        name='predict'
    )

here classifier is a neural network. I am getting the error 

  File "---theano\theano\printing.py", line 582, in __call__
    return self.process(*args)
  File "---theano\theano\printing.py", line 517, in process
    if condition(pstate, r):
  File "---theano\theano\printing.py", line 507, in <lambda>
    condition = (lambda pstate, r: r.owner is not None and
AttributeError: 'Function' object has no attribute 'owner'

If needed I can provide more details on implementation of classifier. 

How do I fix this?

-- 

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