That line must be executed before the import in Theano. Otherwise it will
be ignored.i suppose your change make Theano imported before this line.

Fred

Le mar. 21 févr. 2017 03:46, David Leon <[email protected]> a écrit :

> Previously I set Theano configuration variables by OS environment as
>
> import os
> os.environ['THEANO_FLAGS'] =
> "floatX=float32,mode=FAST_RUN,lib.cnmem=0,allow_gc=False,warn_float64='raise'"
>
> and this worked with no problem.
>
> Now I moved the source code to another folder, re-run the code and these
> configurations are not working at all. Theano keeps prompting that
> 'float64'  is used instead of the expected 'float32'.
>
> I'm using the old backend.
>
> --
>
> ---
> 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.
>

-- 

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