Re: [theano-users] Re: How to get the value of theano tensor variable
Hi, can you please tell me how exactly you got the values of Elementwise{tanh,no_inplace}.0? How did you wrote the function and where in the code? On Sunday, January 29, 2017 at 8:59:21 AM UTC+3:30, chathu matharage wrote: > > Thank you very much. I got the value of the variable by using Theano > function. Do you know how to save the convolution neural network model in a > pickle file while the network is training? Because I need the model to > predict new inputs. > > On Sunday, January 29, 2017 at 2:02:52 AM UTC+5:30, Jesse Livezey wrote: >> >> Did it give an error? If you're debugging things, eval is the right >> function to use. If you're outputting the value of these variables during >> training, you can just add them to the list of outputs when you create the >> theano function. >> >> On Fri, Jan 27, 2017 at 8:49 PM chathu matharage >> wrote: >> >>> I need to get the value of Elementwise{tanh,no_inplace}.0 variable which >>> is the output of error of logistic regression layer in convolution neural >>> network. I tried with eval(). But it didn't work. Is there a method to get >>> the error value of this type of variable? >>> >>> >>> On Saturday, January 28, 2017 at 6:27:24 AM UTC+5:30, Jesse Livezey >>> wrote: You can use eval http://deeplearning.net/software/theano/library/gof/graph.html#theano.gof.graph.Variable.eval On Friday, January 27, 2017 at 4:39:56 PM UTC-8, chathu matharage wrote: > > Hi, > Is there a method to print the value of a tensor variable? > -- >>> >>> --- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "theano-users" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/theano-users/WVcBsiXG2w0/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> theano-users...@googlegroups.com. >>> 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 theano-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/theano-users/8f083d18-8343-4458-a65c-14b56bcff6c1%40googlegroups.com.
Re: [theano-users] Re: How to get the value of theano tensor variable
Thank you very much. I got the value of the variable by using Theano function. Do you know how to save the convolution neural network model in a pickle file while the network is training? Because I need the model to predict new inputs. On Sunday, January 29, 2017 at 2:02:52 AM UTC+5:30, Jesse Livezey wrote: > > Did it give an error? If you're debugging things, eval is the right > function to use. If you're outputting the value of these variables during > training, you can just add them to the list of outputs when you create the > theano function. > > On Fri, Jan 27, 2017 at 8:49 PM chathu matharage> wrote: > >> I need to get the value of Elementwise{tanh,no_inplace}.0 variable which >> is the output of error of logistic regression layer in convolution neural >> network. I tried with eval(). But it didn't work. Is there a method to get >> the error value of this type of variable? >> >> >> On Saturday, January 28, 2017 at 6:27:24 AM UTC+5:30, Jesse Livezey wrote: >>> >>> You can use eval >>> >>> http://deeplearning.net/software/theano/library/gof/graph.html#theano.gof.graph.Variable.eval >>> >>> On Friday, January 27, 2017 at 4:39:56 PM UTC-8, chathu matharage wrote: Hi, Is there a method to print the value of a tensor variable? >>> -- >> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "theano-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/theano-users/WVcBsiXG2w0/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> theano-users...@googlegroups.com . >> 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 theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [theano-users] Re: How to get the value of theano tensor variable
This may help: https://github.com/Theano/Theano/issues/5465 -- --- 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 theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [theano-users] Re: How to get the value of theano tensor variable
Did it give an error? If you're debugging things, eval is the right function to use. If you're outputting the value of these variables during training, you can just add them to the list of outputs when you create the theano function. On Fri, Jan 27, 2017 at 8:49 PM chathu matharagewrote: > I need to get the value of Elementwise{tanh,no_inplace}.0 variable which > is the output of error of logistic regression layer in convolution neural > network. I tried with eval(). But it didn't work. Is there a method to get > the error value of this type of variable? > > > On Saturday, January 28, 2017 at 6:27:24 AM UTC+5:30, Jesse Livezey wrote: > > You can use eval > > http://deeplearning.net/software/theano/library/gof/graph.html#theano.gof.graph.Variable.eval > > On Friday, January 27, 2017 at 4:39:56 PM UTC-8, chathu matharage wrote: > > Hi, > Is there a method to print the value of a tensor variable? > > -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "theano-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/theano-users/WVcBsiXG2w0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > theano-users+unsubscr...@googlegroups.com. > 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 theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[theano-users] Re: How to get the value of theano tensor variable
I need to get the value of Elementwise{tanh,no_inplace}.0 variable which is the output of error of logistic regression layer in convolution neural network. I tried with eval(). But it didn't work. Is there a method to get the error value of this type of variable? On Saturday, January 28, 2017 at 6:27:24 AM UTC+5:30, Jesse Livezey wrote: > > You can use eval > > http://deeplearning.net/software/theano/library/gof/graph.html#theano.gof.graph.Variable.eval > > On Friday, January 27, 2017 at 4:39:56 PM UTC-8, chathu matharage wrote: >> >> Hi, >> Is there a method to print the value of a tensor variable? >> > -- --- 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 theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[theano-users] Re: How to get the value of theano tensor variable
You can use eval http://deeplearning.net/software/theano/library/gof/graph.html#theano.gof.graph.Variable.eval On Friday, January 27, 2017 at 4:39:56 PM UTC-8, chathu matharage wrote: > > Hi, > Is there a method to print the value of a tensor variable? > -- --- 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 theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.