nengo / nengo-extras

Extra utilities and add-ons for Nengo
https://www.nengo.ai/nengo-extras
Other
5 stars 8 forks source link

'module' object has no attribute 'Conv2d' #84

Open assadRasheed opened 5 years ago

assadRasheed commented 5 years ago

from https://github.com/hunse/cuda-convnet2/blob/master/run_nengo_gui.py run_nengo.py", line 145, in build_layer u = nengo.Node(nengo_extras.Conv2d( AttributeError: 'module' object has no attribute 'Conv2d'

tbekolay commented 5 years ago

This class was also moved, you can now access it with

from nengo_extras.convnet import Conv2d

It seems as though the docs online are still on version 0.2; these changes were made in 0.3. I'll make sure the docs get updated today. In the meantime, if you search this repository for classes that are not found you can see their new locations.