Skip to content
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 when running Run-time/mnist.py #13

Open
fpeder opened this issue Nov 1, 2016 · 7 comments
Open

error when running Run-time/mnist.py #13

fpeder opened this issue Nov 1, 2016 · 7 comments

Comments

@fpeder
Copy link

fpeder commented Nov 1, 2016

This is what I got, (the training part works fine):

Using gpu device 0: GeForce GTX 960 (CNMeM is enabled with initial size: 90.0% of memory, cuDNN 5105)
Traceback (most recent call last):
File "binary_ops.py", line 225, in
dot2 = theano.function([A,B], Gemm()(A, B))
File "/usr/local/lib/python2.7/dist-packages/Theano-0.9.0.dev4-py2.7.egg/theano/compile/function.py", line 326, in function
output_keys=output_keys)
File "/usr/local/lib/python2.7/dist-packages/Theano-0.9.0.dev4-py2.7.egg/theano/compile/pfunc.py", line 486, in pfunc
output_keys=output_keys)
File "/usr/local/lib/python2.7/dist-packages/Theano-0.9.0.dev4-py2.7.egg/theano/compile/function_module.py", line 1784, in orig_function
defaults)
File "/usr/local/lib/python2.7/dist-packages/Theano-0.9.0.dev4-py2.7.egg/theano/compile/function_module.py", line 1651, in create
input_storage=input_storage_lists, storage_map=storage_map)
File "/usr/local/lib/python2.7/dist-packages/Theano-0.9.0.dev4-py2.7.egg/theano/gof/link.py", line 699, in make_thunk
storage_map=storage_map)[:3]
File "/usr/local/lib/python2.7/dist-packages/Theano-0.9.0.dev4-py2.7.egg/theano/gof/vm.py", line 1055, in make_all
impl=impl))
TypeError: ('The following error happened while compiling the node', Gemm(GpuContiguous.0, GpuContiguous.0), '\n', "make_thunk() got an unexpected keyword argument 'impl'")

Thanks

@ruizhoud
Copy link

Exactly the same to me..

@fpeder
Copy link
Author

fpeder commented Dec 16, 2016

Downgrading Theano to version 0.8.2 solved the problem to me

@ruizhoud
Copy link

Thanks, I solved it by not using "baseline" in the first layer, but using "theano".. (which I do not believe is really a solution)

@RoboEvangelist
Copy link

RoboEvangelist commented Dec 24, 2016

I'm having the same error. How did you downgrade? Did you have to uninstall and reinstall theano manually?

@fpeder
Copy link
Author

fpeder commented Dec 27, 2016 via email

@qigongsun
Copy link

qigongsun commented Mar 9, 2017

Install Theano with version 0.8.0, this problem can be solved.
sudo pip install -r https://raw.githubusercontent.com/Lasagne/Lasagne/master/requirements.txt

@caiwenpu
Copy link

caiwenpu commented Sep 9, 2017

I use Theano with version 0.9.0 and I have sloved the problem by add an argument " impl='c' " in function make_thunk of class Gemm and class XnorGemm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants