Discussion:
[theano-users] Theanorc configuration
'Arnold Tunick' via theano-users
2017-10-29 20:40:29 UTC
Permalink
Hi  Peter,Hi Fred,     How have you been. Sorry to hear that Theano is coming to an end. As I recently wrote to Pascal, I truly appreciate all of your expert help.
    I am in the middle of a project using an implementation of a CNN in Theano so I have to ask the following question:
     I have just installed the latest version of Theano v0.9.0 on a new windows notebook using Miniconda3 along with Python 3.6, MSVS 2015, and Cuda 8.0.6.1.          I need to know how to implement the .theanorc.txt configurations in the new version of Theano. I found in the document at http://deeplearning.net/software/theano/library/config.html that;
1) The location[s] of the .theanorc file[s] in ConfigParser format. It defaults to $HOME/.theanorc. On Windows, it defaults to $HOME/.theanorc:$HOME/.theanorc.txt to make Windows users’ life easier.
and 
2) 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    The python >> prompt returned with no error messages.
            THEANORC="C:\SciSoft\.theanorc.txt"    The python >> prompt returned with no error messages.
    Is this a viable way 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 theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ephi5757 via theano-users
2017-10-30 23:49:34 UTC
Permalink
Got it working. I found that my CNN codes favored python 2.7 so I installed
miniconda2 and reinstalled theano 0.9.0 and all of the software
dependencies. I found that putting my .theanorc.txt file into the home
directory worked, i.e., c:\users\atun...Now the .theanorc.txt file effects
all of my .py programs that depend on theano. However, I am not completely
successful. I get the error statement "Using gpu device 0: Quadro P4000
(CNMeM is enabled with initial size: 80.0% of memory, cuDNN not available)"
and then the error ("We can't determine the cudnn version as it is not
available".
Previously adding into the .theanorc.txt the following worked perfectly:
[cuda]
cuda.disable_gcc_cudnn_check=True
Now it does not appear to be effective.
Are there any solutions to this problem? I think I am very close to be up
and running my programs on my new computer. Thank you for your help.
Arnold

here is my .theanorc.txt file:
===========================.
[global]
device = gpu
REM device = cpu
floatX=float32
[cuda]
root=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\
cuda.disable_gcc_cudnn_check=True
[nvcc]
flags = -LC:\ProgramData\Miniconda2\libs
compiler_bindir=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
cxx=C:\ProgramData\Miniconda2\Library\mingw-w64\bin
optimizer_including=dnn
[lib]
cnmem=0.8
=============================================.
Hi Peter,
Hi Fred,
How have you been. Sorry to hear that Theano is coming to an end. As
I recently wrote to Pascal, I truly appreciate all of your expert help.
I am in the middle of a project using an implementation of a CNN in
I have just installed the latest version of Theano v0.9.0 on a new
windows notebook using Miniconda3 along with Python 3.6, MSVS 2015, and
Cuda 8.0.6.1.
I need to know how to implement the .theanorc.txt configurations in
the new version of Theano. I found in the document at
*http://deeplearning.net/software/theano/library/config.html*
<http://deeplearning.net/software/theano/library/config.html> that;
1) The location[s] of the .theanorc file[s] in ConfigParser format. It
defaults to $HOME/.theanorc. On Windows, it defaults to
$HOME/.theanorc:$HOME/.theanorc.txt to make Windows users’ life easier.
and
2) to load configuration files {.theanorc} in the current working
directory, append .theanorc to the list of configuration files, e.g.
THEANORC=~/.theanorc:.theanorc.
import theano
The python >> prompt returned with no error messages.
THEANORC="C:\SciSoft\.theanorc.txt"
The python >> prompt returned with no error messages.
Is this a viable way 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 theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frédéric Bastien
2017-11-03 17:08:53 UTC
Permalink
Sorry, but we don't have time to support Theano 0.9. You can try Theano
1.0rc1:

https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end(gpuarray
)

Frédéric

On Mon, Oct 30, 2017 at 7:49 PM ephi5757 via theano-users <
Post by ephi5757 via theano-users
Got it working. I found that my CNN codes favored python 2.7 so I
installed miniconda2 and reinstalled theano 0.9.0 and all of the software
dependencies. I found that putting my .theanorc.txt file into the home
directory worked, i.e., c:\users\atun...Now the .theanorc.txt file effects
all of my .py programs that depend on theano. However, I am not completely
successful. I get the error statement "Using gpu device 0: Quadro P4000
(CNMeM is enabled with initial size: 80.0% of memory, cuDNN not available)"
and then the error ("We can't determine the cudnn version as it is not
available".
[cuda]
cuda.disable_gcc_cudnn_check=True
Now it does not appear to be effective.
Are there any solutions to this problem? I think I am very close to be up
and running my programs on my new computer. Thank you for your help.
Arnold
===========================.
[global]
device = gpu
REM device = cpu
floatX=float32
[cuda]
root=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\
cuda.disable_gcc_cudnn_check=True
[nvcc]
flags = -LC:\ProgramData\Miniconda2\libs
compiler_bindir=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
cxx=C:\ProgramData\Miniconda2\Library\mingw-w64\bin
optimizer_including=dnn
[lib]
cnmem=0.8
=============================================.
Hi Peter,
Hi Fred,
How have you been. Sorry to hear that Theano is coming to an end. As
I recently wrote to Pascal, I truly appreciate all of your expert help.
I am in the middle of a project using an implementation of a CNN in
I have just installed the latest version of Theano v0.9.0 on a new
windows notebook using Miniconda3 along with Python 3.6, MSVS 2015, and
Cuda 8.0.6.1.
I need to know how to implement the .theanorc.txt configurations in
the new version of Theano. I found in the document at
*http://deeplearning.net/software/theano/library/config.html*
<http://deeplearning.net/software/theano/library/config.html> that;
1) The location[s] of the .theanorc file[s] in ConfigParser format. It
defaults to $HOME/.theanorc. On Windows, it defaults to
$HOME/.theanorc:$HOME/.theanorc.txt to make Windows users’ life easier.
and
2) to load configuration files {.theanorc} in the current working
directory, append .theanorc to the list of configuration files, e.g.
THEANORC=~/.theanorc:.theanorc.
import theano
The python >> prompt returned with no error messages.
THEANORC="C:\SciSoft\.theanorc.txt"
The python >> prompt returned with no error messages.
Is this a viable way 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
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...