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

Any idea? #3

Open
ethanhe42 opened this issue Apr 28, 2016 · 3 comments
Open

Any idea? #3

ethanhe42 opened this issue Apr 28, 2016 · 3 comments

Comments

@ethanhe42
Copy link

Building the CNN...
/home/eli/anaconda2/lib/python2.7/site-packages/lasagne/layers/conv.py:489: UserWarning: The image_shape keyword argument to tensor.nnet.conv2d is deprecated, it has been renamed to input_shape.
border_mode=border_mode)
Traceback (most recent call last):
File "cifar10.py", line 301, in
W_grads = binary_connect.compute_grads(loss,cnn)
File "/home/eli/work/b2/BinaryConnect/binary_connect.py", line 163, in compute_grads
grads.append(theano.grad(loss, wrt=layer.Wb))
AttributeError: 'Conv2DLayer' object has no attribute 'Wb'

@ecsark
Copy link

ecsark commented Apr 30, 2016

Check out commits earlier than 2b2a03f.

@roserustowicz
Copy link

I was running into the same issue, but made the changes back to the original before the commits as pointed out by @ecsark . It seems to be working now ... Thank you!

@bigbigda
Copy link

bigbigda commented Jun 6, 2017

so why this happened, can anyone explain this?

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

4 participants