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 importing Conv2D, ImageShape #23

Open
Maryada-27 opened this issue Jun 2, 2019 · 2 comments
Open

Error importing Conv2D, ImageShape #23

Maryada-27 opened this issue Jun 2, 2019 · 2 comments

Comments

@Maryada-27
Copy link

No description provided.

@Maryada-27
Copy link
Author

#Code
import nengo_loihi
import nengo
print('Nengo version', nengo.version)
print('Nengo Loihi version', nengo_loihi.version)

from nengo_loihi.conv import (
Conv2D, ImageSlice, ImageShape, split_transform)
#Error
Nengo version 2.8.0
Nengo Loihi version 0.6.0


ImportError Traceback (most recent call last)
in
5 print('Nengo Loihi version', nengo_loihi.version)
6
----> 7 from nengo_loihi.conv import (
8 Conv2D, ImageSlice, ImageShape, split_transform)

ImportError: cannot import name 'Conv2D' from 'nengo_loihi.conv' (/media/tonio/UData/workspace/nengo-loihi/nengo_loihi/conv.py)

@drasmuss
Copy link
Member

drasmuss commented Jun 2, 2019

Conv2D was removed in the nengo-loihi 0.6.0 release, so you will have to downgrade nengo-loihi to 0.5.0 (pip install "nengo-loihi<0.6.0") to get that code working.

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

No branches or pull requests

2 participants