Also, I tried with this command os.environ["THEANO_FLAGS"]=
'base_compiledir=Model_1' and unfortunately, I ended with the same
problem (see attached file).
It is interesting that it used to work on Theano 0.9.0
I am hoping that you have other suggestions.
Thanks for all,
Ivan
On Thursday, May 3, 2018 at 3:01:29 PM UTC-5, Pascal Lamblin wrote:
On 2018-05-03 02:00 PM, ivan.d.m...@gmail.com <javascript:> wrote:>
A) Added the
option nocleanup=True to the .theanorc file
Thanks. This makes sure the "mod.c" file you mention later is not
deleted.
> B) The backslash before "Model 1". In my previous attempts in
Theano
> 0.9.0, this was the way that I found to make it work.
We have added quotation marks and such in order to better handle
paths
on Windows since 0.9, so I'm not surprised.
> Following your suggestion, I edited the header of the script to
> this: os.environ["THEANO_FLAGS"]= "base_compiledir=Model_1"
>
> and ran the script. This time, I noticed an extra sub-folder under
>
"Model_1\compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_63_Stepping_2_GenuineIntel-3.6.1-64".
> The sub-folder is named "tmpgqmnjspd", which only contains a
mod.c file
That makes sense.
> The compilation ended with this error:
>
> Exception: ('The following error happened while compiling the
node',
> InplaceDimShuffle{x,0}(layer:tanh-1/bias), '\n', 'Compilation
failed
> (return status=1): C:/Temp/Anaconda3/Library/mingw-w64/bin/../
>
lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot open output file
>
C:\\Users\\IMarroquin\\Documents\\My_Python_Scripts\\MLP\\SEG_contest\\Independent_Scripts\\Model_1\
>
\compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_63_Stepping_2_GenuineIntel-3.6.1-64\\tmpgqmnjspd\\m885ff006a95d626dac547a7bdfdb471bbf058622ece2b4435e42316c4012ea56.pyd:
> No such file or directory\r. collect2.exe: error: ld returned 1
exit
> status\r. ', '[InplaceDimShuffle{x,0}(layer:tanh-1/bias)]')
>
> It seems that the source of the problem is a missing file with
extension
> *.pyd
From my understanding, the process is not able to open the *output*
file (the .pyd) in order to *write* to it, and so the compilation
cannot
proceed.
I find that surprising, since it was able to create the mod.c file.
Maybe it's a quota problem, or not enough free disk space?
Can you specify a full path, for instance:
os.environ["THEANO_FLAGS"] =
"base_compiledir=C:\\Users\\IMarroquin\\Documents\\My_Python_Scripts\\MLP\\SEG_contest\\Independent_Scripts\\Model_1"
Another thing to try would be to put a breakpoint or try to print the
compilation command line that is executed, and try to execute it
directly from a shell (and the same working directory), rather than
inside Theano.
>
> C) "compiler" instead of "compiledir". Sorry for the confusion, I
made a
> mistake during the copy/paste
>
> Many thanks,
> Ivan
>
> --
>
> ---
> 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 <javascript:>
> <mailto:theano-users+unsubscr...@googlegroups.com <javascript:>>.
> For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
-- Pascal Lamblin
--
---
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+unsubscr...@googlegroups.com
<mailto:theano-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.