This line should be in a normal shell, not a python shell: THEANORC="C:\SciSoft\.theanorc.txt"
If you want to do that inside a Python shell, you should do it before you import theano: import os os.envirion["THEANORC"]="C:\SciSoft\.theanorc.txt" I strongly recommand that you use Theno 1.0rc1: https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end(gpuarray) On Thu, Oct 26, 2017 at 6:53 PM 'Arnold Tunick' via theano-users < [email protected]> wrote: > Hi Pascal, > How have you been. Sorry to hear that Theano is coming to an end. I > sincerely appreciate all of the help that you and Fred have provided. My > work with a CNN in Theano has benefited greatly from your expert > recommendations. > > I have now installed the latest version of Theano v0.9.0 on a new > windows notebook along with Python 3.6 using Miniconda3. > > I wanted to know how to implement the .theanorc.txt configurations in > the new version of Theano. I found in the documents at > http://deeplearning.net/software/theano/library/config.html that "to load > configuration files {.theanorc} in the current working directory, append > .theanorc to the list of configuration files, e.g. > THEANORC=~/.theanorc:.theanorc. > > Therefore in a python shell I did the following: > import theano > THEANORC="C:\SciSoft\.theanorc.txt" > The python >> prompt returned with no error messages. > > Is this the correct implementation to modify the .theanorc > configurations? > > Best, > Arnold > > -- > > --- > 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.
