-
Notifications
You must be signed in to change notification settings - Fork 19.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: AbstractConv2d Theano optimization failed #2845
Comments
It means you need to install a BLAS (in order to run on CPU). Look at http://www.openblas.net/ |
I've tried hard to link BLAS to theano, but had no luck. Eventually I gave up on installing Theano on windows. |
Installing the Theano with blas on Windows should be simple with anaconda. Using Linux will make sure you have the best Theano experience as this is Fred Le 14 sept. 2016 05:20, "Bakaraju Vivek" notifications@github.com a
|
Still having this problem. in 2016 Dec 18 My system is Windows 7 pro sp1. Blas and Theano are installed but still having exactly same error. Please someone look into it. Thank you. |
This should be working. Be sure to install Python with Anaconda and install
Theano dev version. It was tested recently and it was working.
…On Sun, Dec 18, 2016 at 10:22 AM, Lothian ***@***.***> wrote:
Still having this problem. in 2016 Dec 18
My system is Windows 7 pro sp1. Blas and Theano are installed but still
having exactly same error.
Please someone look into it.
Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2845 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALC-_787xI6nSi_-XdML8iPIO4MdjKfks5rJU-xgaJpZM4IpVjN>
.
|
@nouiz [blas] and ERROR is |
met the same problem and fixed by adding "optimizer = None" in ".theanorc" |
I can confirm that on Windows 7 64 bit and trying lapack and openblas, there appears to be no compatibility with blas and theano and the abstractconv2d error always turns up. Certainly setting optimizer=None goes around the problem but at the expense of no optimisation and therefore only useful for code debugging (slowly) and not running training. I run two Pascal gpu's but I would really like to also run on CPU for development and debug so as not to tie one up as they run 24/7. One possible problem is that the error message is not related to the problem, for instance the actual blas lib may be of an incompatible build to theano. I tried 32 and 64 bit binaries. Mingw64 is installed and there are no problems with compiling for GPU (it is really easy once you have done it and documented the procedure for yourself). Would it be possible for the theano team to try out a vanilla win64 box and bring it up with Anaconda2 and a fresh theano install, find and install to taste a blas version, document the procedure precisely with all bells and whistle, and link it out from the main theano page on deeplearning.net for all to access directly ? Thanks and much appreciated Frederic. Best regards, Brendan |
Continuum is doing conda packages for Theano that include mkl. While doing
so, they pushed upstream fixes to have Theano link with there mkl version.
So now again, Theano link with anaconda mkl on windows.
The current packages aren't on the master of anaconda. They will be there
when we release Theano 0.9. We have the packages for the beta and new
packages (still at non default place) should be done this week after the rc.
Can you confirm that this will fix your issue? Updating Theano do the dev
version and using anaconda while installaing the packages "mkl-service"
should have you working well right now.
…On Mon, Jan 23, 2017 at 12:39 PM brendanruff ***@***.***> wrote:
I can confirm that on Windows 7 64 bit and trying lapack and openblas,
there appears to be no compatibility with blas and theano and the
abstractconv2d error always turns up. Certainly setting optimizer=None goes
around the problem but at the expense of no optimisation and therefore only
useful for code debugging (slowly) and not running training.
I run two Pascal gpu's but I would really like to also run on CPU for
development and debug so as not to tie one up as they run 24/7.
One possible problem is that the error message is not related to the
problem, for instance the actual blas lib may be of an incompatible build
to theano. I tried 32 and 64 bit binaries. Mingw64 is installed and there
are no problems with compiling for GPU (it is really easy once you have
done it and documented the procedure for yourself).
Would it be possible for the theano team to try out a vanilla win64 box
and bring it up with Anaconda2 and a fresh theano install, find and install
to taste a blas version, document the procedure precisely with all bells
and whistle, and link it out from the main theano page on deeplearning.net
for all to access directly ? Thanks and much appreciated Frederic.
Best regards, Brendan
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2845 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALC-_wioHSardYgYBuAquYy-ZE-87kMks5rVOXEgaJpZM4IpVjN>
.
|
I'm also getting the same error but still was unable to find a fix. |
I am also facing the same error |
.theanorc.txt add this as .theanorc.txt to C:/ users/whatever |
@suvodip1212 |
@duqq where i can add this method ? |
Do
instead |
thanks |
Hi people.
I'm new to both Neural networks and Keras.
I'm working on ipython notebook & Windows 8.1 on CPU.
I'm getting this error while trying to train the network:
AssertionError: AbstractConv2d Theano optimization failed: there is no implementation available supporting the requested options. Did you exclude both "conv_dnn" and "conv_gemm" from the optimizer? If on GPU, is cuDNN available and does the GPU support it? If on CPU, do you have a BLAS library installed Theano can link against?
I've looked at similar issues on Theano/Keras github issues page.
Almost all the solutions pointed towards updating Theano & Keras.
I've tried updating both of them, and that didn't resolve the issue.
Is the issue in how we give the images to the training function(model.fit)?
In what format should the 2D grey scale images be given as the training set?
Could someone please help me out in fixing this.
Please find the link to the code & error here
The text was updated successfully, but these errors were encountered: