Open blindfish opened 7 years ago
Getting this error when trying to run this code. Any ideas on how to fix?
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-5-5af402f414c9> in <module>() ----> 1 import generate 2 z = generate.load_all() 3 generate.story(z, './images/ex1.jpg') /home/user/Documents/GitHub/AI_Writer/generate.py in <module>() 12 import embedding 13 ---> 14 import config 15 16 import lasagne /home/user/Documents/GitHub/AI_Writer/config.py in <module>() 14 import config 15 ---> 16 import lasagne 17 from lasagne.layers import InputLayer, DenseLayer, NonlinearityLayer, DropoutLayer 18 from lasagne.layers import MaxPool2DLayer as PoolLayer /home/user/anaconda3/envs/magenta27/lib/python2.7/site-packages/lasagne/__init__.py in <module>() 17 from . import nonlinearities 18 from . import init ---> 19 from . import layers 20 from . import objectives 21 from . import random /home/user/anaconda3/envs/magenta27/lib/python2.7/site-packages/lasagne/layers/__init__.py in <module>() 5 from .noise import * 6 from .conv import * ----> 7 from .pool import * 8 from .shape import * 9 from .merge import * /home/user/anaconda3/envs/magenta27/lib/python2.7/site-packages/lasagne/layers/pool.py in <module>() 4 from ..utils import as_tuple 5 ----> 6 from theano.tensor.signal import downsample 7 8 ImportError: cannot import name downsample
Maybe if you use theano==0.8.2 and lasagne==0.1,this problem can be fixed.
Getting this error when trying to run this code. Any ideas on how to fix?