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
=============================================.
On Sunday, October 29, 2017 at 4:41:27 PM UTC-4, Arnold Tunick wrote:
> 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*
> <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 [email protected].
For more options, visit https://groups.google.com/d/optout.