Thast's great thanks a lot!

On Wednesday, September 7, 2016 at 2:01:07 PM UTC+1, Pascal Lamblin wrote:
>
> On Wed, Sep 07, 2016, [email protected] <javascript:> wrote: 
> > Thanks Pascal, 
> > 
> > but I've already enabled that flag and it correctly warns me about 
> foat64 
> > variables. The problem though is that it doesn't specify which variable 
> or 
> > expression was responsible for the warning in the first place. What I am 
> > asking is if there is an easy way to quickly find the variable that 
> raised 
> > the warning? 
>
> The place where the variable is created should appear in the stack trace 
> of that exception if set to 'raise'. Setting it to 'pdb' will take you 
> at the exact place where the variable is created, and you can then go up 
> in the stack to see where in your code that came from. 
>
> > 
> > On Tuesday, September 6, 2016 at 6:56:53 PM UTC+1, Pascal Lamblin wrote: 
> > > 
> > > 
> > > 
> http://deeplearning.net/software/theano/library/config.html#config.warn_float64
>  
> > > 
> > > On Tue, Sep 06, 2016, [email protected] <javascript:> wrote: 
> > > > Hello, 
> > > > 
> > > > does anyone know what is the easiest  way to pinpoint float64 
> tensors in 
> > > > our code, because when I usually run code not generated by me it 
> often 
> > > > happens that they use float64 for the creation of tensors. For 
> instance 
> > > I'm 
> > > > trying to run the example of rnn_rbm from the theano examples and I 
> > > usually 
> > > > get  the exception warning me about the use of float64 in the code 
> but I 
> > > > can't easily pinpoint where that piece of code might be. 
> > > > 
> > > > Is there any way to let's say print all al the float64 variables in 
> the 
> > > > code or some other alternative that would easily allow to pinpoint 
> where 
> > > in 
> > > > the code those float64 variables are being initialized? 
> > > > 
> > > > 
> > > > Thanks :). 
> > > > 
> > > > 
> > > > -- 
> > > > 
> > > > --- 
> > > > 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. 
> > > 
> > > 
> > > -- 
> > > Pascal 
> > > 
> > 
> > -- 
> > 
> > --- 
> > 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. 
>
>
> -- 
> Pascal 
>

-- 

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