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

[Solved] ImportError: cannot import name downsample #2

Closed
Vimos opened this issue May 4, 2018 · 0 comments
Closed

[Solved] ImportError: cannot import name downsample #2

Vimos opened this issue May 4, 2018 · 0 comments

Comments

@Vimos
Copy link

Vimos commented May 4, 2018

When I trying to run the code, I met this ImportError: cannot import name downsample

Traceback (most recent call last):
  File "main_run.py", line 6, in <module>
    import model
  File "/home/vimos/Data/git/QA/HMN4QA/model.py", line 3, in <module>
    import lasagne
  File "/home/vimos/Data/git/QA/HMN4QA/lasagne/__init__.py", line 19, in <module>
    from . import layers
  File "/home/vimos/Data/git/QA/HMN4QA/lasagne/layers/__init__.py", line 7, in <module>
    from .pool import *
  File "/home/vimos/Data/git/QA/HMN4QA/lasagne/layers/pool.py", line 6, in <module>
    from theano.tensor.signal import downsample
ImportError: cannot import name downsample

This problem is resolved by removing the verison_0.1 of Lasagne from this project and use the master of https://github.com/Lasagne/Lasagne/archive/master.zip

@Vimos Vimos closed this as completed May 4, 2018
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

1 participant