Hello,
I'm trying to print an image taking the result from the convolution layer
but I have difficulties to return value from the graph. using this code
and change it.
http://deeplearning.net/tutorial/lenet.html
in the class LeNetConvPoolLayer
I add a vriable
self.conv_value = conv_out
and built a function
def get_conv_value(self):
return self.conv_value
after training, I build this function to call the values of the kernal
kernals = classifier_2.layer1.get_conv_value()
visualize_imgs = theano.function(
inputs=[index],
outputs=kernals,
givens={
x:test_data[index * batch_size: (index + 1) * batch_size]
}
)
print visualize_imgs
and the result is
TypeError: 'TensorVariable' object is not callable
any idea how to print out the value of the tensor givign the input?
--
---
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.